[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 01/02: switch to python3
From: |
gnunet |
Subject: |
[taler-exchange] 01/02: switch to python3 |
Date: |
Mon, 23 Dec 2019 12:13:13 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit f590043e58834dd3fdda6f91f075c5d763ad6839
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Dec 23 12:12:54 2019 +0100
switch to python3
---
contrib/render.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/render.py b/contrib/render.py
index 47c00bb2..2290e92f 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
--
To stop receiving notification emails like this one, please contact
address@hidden.