Fix Python code: remove imports from `python-future`.
authorHartmut Goebel <h.goebel@crazy-compilers.com>
Sun, 10 Mar 2019 20:17:39 +0000 (21:17 +0100)
committerHartmut Goebel <h.goebel@crazy-compilers.com>
Sun, 10 Mar 2019 20:17:39 +0000 (21:17 +0100)
commit1b292596c1cbb211c22542607f6f5d15f2dc0465
treeae4d64f525c43bb81ad601f1e76287d383ba1b31
parent3d6ba937a5a5046b3d531c17691d5d1155daae71
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.
contrib/scripts/gdb-iterate-dll.py
contrib/scripts/gnunet-chk.py.in
contrib/scripts/gnunet_pyexpect.py.in
contrib/scripts/terminate.py.in
src/consensus/consensus-simulation.py.in
src/integration-tests/gnunet_pyexpect.py.in
src/integration-tests/gnunet_testing.py.in
src/revocation/test_local_revocation.py.in