Commit b5cd79de authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

make helper/unomimemapper.py's JSON output more readable.

parent d230aa55
...@@ -131,7 +131,8 @@ def main(): ...@@ -131,7 +131,8 @@ def main():
filter_dict = mimemapper.getFilterDict() filter_dict = mimemapper.getFilterDict()
type_dict = mimemapper.getTypeDict() type_dict = mimemapper.getTypeDict()
sys.stdout.write(json.dumps((filter_dict, type_dict))) sys.stdout.write(json.dumps((filter_dict, type_dict),
sort_keys=True, indent=2, separators=(',', ':')))
if "__main__" == __name__: if "__main__" == __name__:
main() main()
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