diff options
author | ng0 <ng0@n0.is> | 2019-02-26 15:43:50 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-02-26 15:43:50 +0000 |
commit | 59b712b66d8d399781c086402e80393e7aa9868c (patch) | |
tree | 0b72b9b4a074cdef20bb4b6595f6f8dc363e6980 /src/util | |
parent | b6d9c70fa5ce58243327829b66e37382b4412555 (diff) | |
download | gnunet-59b712b66d8d399781c086402e80393e7aa9868c.tar.gz gnunet-59b712b66d8d399781c086402e80393e7aa9868c.zip |
Fix syntax error in gnunet-qr. We can not handle this exception. Just read the README.
Diffstat (limited to 'src/util')
-rwxr-xr-x | src/util/gnunet-qr.py | 10 |
1 files changed, 2 insertions, 8 deletions
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 @@ | |||
1 | from __future__ import print_function | ||
2 | from builtins import str | ||
1 | import sys | 3 | import sys |
2 | try: | ||
3 | from __future__ import print_function | ||
4 | from builtins import str | ||
5 | except ImportError as e: | ||
6 | print('Cannot import future modules, python2.7 future module required!') | ||
7 | print('For Debian, you can obtain is as "python-future".') | ||
8 | print('Upstream: https://python-future.org/') | ||
9 | sys.exit(1) | ||
10 | import getopt | 4 | import getopt |
11 | import subprocess | 5 | import subprocess |
12 | from sys import argv | 6 | from sys import argv |