diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-08-03 13:29:26 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-08-03 13:29:26 +0300 |
commit | a1a95aba9e1fa9a4cd4baada712cdeeded622f79 (patch) | |
tree | a318bb52996d38a07739045725e7496b957cba9a | |
parent | d8bcd5706bf6461e80fe31fc251657fa58fa1c0f (diff) | |
download | slog-a1a95aba9e1fa9a4cd4baada712cdeeded622f79.tar.gz |
Drop: unicode hack for Python3
-rwxr-xr-x | slog-errors | 2 | ||||
-rwxr-xr-x | slog-pretty | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/slog-errors b/slog-errors index 920e87d..f4d0a0e 100755 --- a/slog-errors +++ b/slog-errors @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Read Qvarn structured log files, look for errors, and output all # messages related to a failed HTTP request (status code 5xx). diff --git a/slog-pretty b/slog-pretty index 80f07fb..bacff37 100755 --- a/slog-pretty +++ b/slog-pretty @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import json import sys @@ -14,7 +14,7 @@ def text_representer(dumper, data): u'tag:yaml.org,2002:str', data, style='') yaml.add_representer(str, text_representer) -yaml.add_representer(unicode, text_representer) +#yaml.add_representer(unicode, text_representer) def dump(f): |