From 1b292596c1cbb211c22542607f6f5d15f2dc0465 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 10 Mar 2019 21:17:39 +0100 Subject: 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. --- src/revocation/test_local_revocation.py.in | 1 - 1 file changed, 1 deletion(-) (limited to 'src/revocation') 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 @@ # # Testcase for ego revocation -from builtins import str import sys import os import subprocess -- cgit v1.2.3