Skip to content

Commit

Permalink
Restored encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
fadado committed Jul 31, 2020
1 parent 00d1204 commit 28ae196
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# restore format tests

test-csv and test-yaml fail: Python3???

setup:
install python3 ???
@rpm -q --quiet python2-pyyaml || sudo dnf -y install python2-pyyaml


# spin-off

```
mpp < f.mpp > f.md
```
2 changes: 1 addition & 1 deletion bin/csv2yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def dump_yaml(seq):
yaml.safe_dump(d, sys.stdout,
default_flow_style=False,
default_style=None,
#encoding='utf-8',
encoding='utf-8',
explicit_start=True,
explicit_end=False,
indent=2,
Expand Down
2 changes: 1 addition & 1 deletion bin/json2yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def dump_yaml(seq):
yaml.safe_dump(obj, sys.stdout,
default_flow_style=False,
default_style=None,
#encoding='utf-8',
encoding='utf-8',
explicit_start=True,
explicit_end=False,
indent=2,
Expand Down

0 comments on commit 28ae196

Please sign in to comment.