diff --git a/TODO.md b/TODO.md index e8a5a46..2599db9 100644 --- a/TODO.md +++ b/TODO.md @@ -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 +``` diff --git a/bin/csv2yaml b/bin/csv2yaml index f52d560..922eff7 100755 --- a/bin/csv2yaml +++ b/bin/csv2yaml @@ -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, diff --git a/bin/json2yaml b/bin/json2yaml index 94b4ee1..b9c7802 100755 --- a/bin/json2yaml +++ b/bin/json2yaml @@ -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,