aboutsummaryrefslogtreecommitdiff
path: root/contrib/scripts/gdb-iterate-dll.py
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2019-03-10 21:17:39 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2019-03-10 21:17:39 +0100
commit1b292596c1cbb211c22542607f6f5d15f2dc0465 (patch)
treeae4d64f525c43bb81ad601f1e76287d383ba1b31 /contrib/scripts/gdb-iterate-dll.py
parent3d6ba937a5a5046b3d531c17691d5d1155daae71 (diff)
downloadgnunet-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 'contrib/scripts/gdb-iterate-dll.py')
-rw-r--r--contrib/scripts/gdb-iterate-dll.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/scripts/gdb-iterate-dll.py b/contrib/scripts/gdb-iterate-dll.py
index 9e6478e9f..79d46aa96 100644
--- a/contrib/scripts/gdb-iterate-dll.py
+++ b/contrib/scripts/gdb-iterate-dll.py
@@ -1,4 +1,3 @@
1from builtins import str
2from gdb import * 1from gdb import *
3 2
4 3