summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xslog-errors2
-rwxr-xr-xslog-pretty4
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):