Commit 93e71222 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 60c17c2b
......@@ -28,7 +28,7 @@ def main():
print(e, file=sys.stderr)
else:
with open(f, 'w') as outfile:
json.dump(obj, outfile, sort_keys=False, indent=2, separators=(',', ': '))
json.dump(obj, outfile, ensure_ascii=False, sort_keys=False, indent=2, separators=(',', ': '))
outfile.write('\n')
sys.exit(exit_code)
......
......@@ -85,6 +85,7 @@ def createFormatTest(path):
self.assertEqual(
(json.dumps(
json.loads(content, object_pairs_hook=collections.OrderedDict),
ensure_ascii=False,
sort_keys=False,
indent=2,
separators=(',', ': ')) + "\n").splitlines(),
......
......@@ -24,7 +24,7 @@ md5sum = f5c76c3443b75569eb18503dce38e783
[slaplte.jinja2]
_update_hash_filename_ = slaplte.jinja2
md5sum = b7b47539d7f8680a1d0ce40eb006fc23
md5sum = 2aaea73830039fb5838f029b0c42f8fd
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment