diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2019-03-10 19:46:23 +0100 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2019-03-10 19:49:39 +0100 |
commit | 4deae01fba7218d3e31cc008e390c392ea9a2238 (patch) | |
tree | d71a988f640e80a40768a102619a1baf7363a545 /contrib/scripts/gnunet-chk.py.in | |
parent | 8de3cc8ba8126cd2464a010526b94b8daf63718b (diff) | |
download | gnunet-4deae01fba7218d3e31cc008e390c392ea9a2238.tar.gz gnunet-4deae01fba7218d3e31cc008e390c392ea9a2238.zip |
Cleanup Python code: remove `import __future__`.
All of these only made Python 2 accept some Python 3 language idioms,
and the code is Python-3-only.
Diffstat (limited to 'contrib/scripts/gnunet-chk.py.in')
-rwxr-xr-x | contrib/scripts/gnunet-chk.py.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/scripts/gnunet-chk.py.in b/contrib/scripts/gnunet-chk.py.in index 1f5a0726c..ab0bc635f 100755 --- a/contrib/scripts/gnunet-chk.py.in +++ b/contrib/scripts/gnunet-chk.py.in | |||
@@ -21,8 +21,6 @@ | |||
21 | # Brief: Computes GNUNET style Content Hash Key for a given file | 21 | # Brief: Computes GNUNET style Content Hash Key for a given file |
22 | # Author: Sree Harsha Totakura | 22 | # Author: Sree Harsha Totakura |
23 | 23 | ||
24 | from __future__ import print_function | ||
25 | from __future__ import division | ||
26 | from builtins import str | 24 | from builtins import str |
27 | from builtins import range | 25 | from builtins import range |
28 | from past.utils import old_div | 26 | from past.utils import old_div |