diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-07-26 14:47:10 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-07-26 14:47:10 +0300 |
commit | 479100b2594a4c7bf999e4649f8d85d22f76c7c6 (patch) | |
tree | e43db28bc3a409b916e89aefa6df15911d3af380 | |
parent | eac97a4a446016fc2e672f8fb8eca657c9f3edcf (diff) | |
download | slog-master.tar.gz |
Speeds up order of 5-7 times in my test.
-rwxr-xr-x | slog-pretty | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slog-pretty b/slog-pretty index bacff37..4660c00 100755 --- a/slog-pretty +++ b/slog-pretty @@ -22,7 +22,7 @@ def dump(f): obj = json.loads(line.strip()) yaml.dump( obj, stream=sys.stdout, indent=4, default_flow_style=False, - explicit_start=True, explicit_end=True) + explicit_start=True, explicit_end=True, Dumper=yaml.CSafeDumper) if len(sys.argv) == 1: |