summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-23 12:12:54 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-23 12:12:54 +0100
commitf590043e58834dd3fdda6f91f075c5d763ad6839 (patch)
tree4b6c0e41b4daca5394066ef59d5074614fc45093 /contrib
parente0cf954ad9ab0c1613ab2c0f06ada581dbdb8276 (diff)
downloadexchange-f590043e58834dd3fdda6f91f075c5d763ad6839.tar.gz
exchange-f590043e58834dd3fdda6f91f075c5d763ad6839.tar.bz2
exchange-f590043e58834dd3fdda6f91f075c5d763ad6839.zip
switch to python3
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/render.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/render.py b/contrib/render.py
index 47c00bb25..2290e92f8 100755
--- a/contrib/render.py
+++ b/contrib/render.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# This file is in the public domain.
"""Expand Jinja2 templates based on JSON input.
@@ -26,7 +26,7 @@ class StdinLoader(BaseLoader):
def __init__ (self):
self.path = '-'
def get_source(self, environment, template):
- source = sys.stdin.read().decode('utf-8')
+ source = sys.stdin.read()
return source, self.path, lambda: false