From db602e98ebd0de54c4948a0978110c8371587ab6 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 12 Feb 2019 10:50:13 +0000 Subject: [PATCH] util: futurize gnunet-qr Signed-off-by: ng0 --- src/util/gnunet-qr.py.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/gnunet-qr.py.in b/src/util/gnunet-qr.py.in index a5918fdf8..6c9d208f7 100755 --- a/src/util/gnunet-qr.py.in +++ b/src/util/gnunet-qr.py.in @@ -1,4 +1,6 @@ #!@PYTHON@ +from __future__ import print_function +from builtins import str import sys import getopt import subprocess @@ -100,7 +102,7 @@ if __name__ == '__main__': cmd += " " + str(a) if (verbose): print('Running `' + cmd +'`') - res=subprocess.call(args) + res = subprocess.call(args) if (0 != res): print('Failed to add URI ' + str(symbol.data)) else: -- 2.25.1