From: ng0 Date: Tue, 26 Feb 2019 15:43:50 +0000 (+0000) Subject: Fix syntax error in gnunet-qr. We can not handle this exception. Just read the README. X-Git-Tag: v0.11.0~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=59b712b66d8d399781c086402e80393e7aa9868c;p=oweals%2Fgnunet.git Fix syntax error in gnunet-qr. We can not handle this exception. Just read the README. --- diff --git a/src/util/gnunet-qr.py b/src/util/gnunet-qr.py index 88fb4fc50..6cb9633f0 100755 --- a/src/util/gnunet-qr.py +++ b/src/util/gnunet-qr.py @@ -1,12 +1,6 @@ +from __future__ import print_function +from builtins import str import sys -try: - from __future__ import print_function - from builtins import str -except ImportError as e: - print('Cannot import future modules, python2.7 future module required!') - print('For Debian, you can obtain is as "python-future".') - print('Upstream: https://python-future.org/') - sys.exit(1) import getopt import subprocess from sys import argv