diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2019-03-10 21:17:39 +0100 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2019-03-10 21:17:39 +0100 |
commit | 1b292596c1cbb211c22542607f6f5d15f2dc0465 (patch) | |
tree | ae4d64f525c43bb81ad601f1e76287d383ba1b31 /src/revocation/test_local_revocation.py.in | |
parent | 3d6ba937a5a5046b3d531c17691d5d1155daae71 (diff) | |
download | gnunet-1b292596c1cbb211c22542607f6f5d15f2dc0465.tar.gz gnunet-1b292596c1cbb211c22542607f6f5d15f2dc0465.zip |
Fix Python code: remove imports from `python-future`.
I missed in 3d6ba937a5a5046b3d531c17691d5d1155daae71 that `future`
also provides the modules `past` and `builtins`.
Imports of `builtins` can simply be removed for Python-3-only code.
`past.old_div` had to be replaces by the "old" div-operatot `//`,
while `past.xrange` was unused.
Diffstat (limited to 'src/revocation/test_local_revocation.py.in')
-rw-r--r-- | src/revocation/test_local_revocation.py.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/revocation/test_local_revocation.py.in b/src/revocation/test_local_revocation.py.in index 979a55d83..4cc6119ca 100644 --- a/src/revocation/test_local_revocation.py.in +++ b/src/revocation/test_local_revocation.py.in | |||
@@ -19,7 +19,6 @@ | |||
19 | # | 19 | # |
20 | # Testcase for ego revocation | 20 | # Testcase for ego revocation |
21 | 21 | ||
22 | from builtins import str | ||
23 | import sys | 22 | import sys |
24 | import os | 23 | import os |
25 | import subprocess | 24 | import subprocess |