summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2020-11-10 14:11:16 +0100
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-11-10 14:11:50 +0100
commitebc05644d889a845260ad4299657bcab2fabe13e (patch)
treec74c4707352b4da5732b65b1c794d6811e9880cb /lib
parente58e4d1282d057a84025f3f62eded66cf1c78a3e (diff)
sectracker: remove future imports
Diffstat (limited to 'lib')
-rw-r--r--lib/python/sectracker/repo.py2
-rw-r--r--lib/python/sectracker/xpickle.py2
-rw-r--r--lib/python/sectracker_test/run.py1
-rw-r--r--lib/python/sectracker_test/test_analyzers.py1
-rw-r--r--lib/python/sectracker_test/test_xpickle.py2
5 files changed, 0 insertions, 8 deletions
diff --git a/lib/python/sectracker/repo.py b/lib/python/sectracker/repo.py
index 64dff048e9..66ce016c83 100644
--- a/lib/python/sectracker/repo.py
+++ b/lib/python/sectracker/repo.py
@@ -15,8 +15,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-from __future__ import with_statement
-
import bz2 as _bz2
import hashlib as _hashlib
import gzip as _gzip
diff --git a/lib/python/sectracker/xpickle.py b/lib/python/sectracker/xpickle.py
index c657958790..d3324825ce 100644
--- a/lib/python/sectracker/xpickle.py
+++ b/lib/python/sectracker/xpickle.py
@@ -15,8 +15,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-from __future__ import with_statement
-
import errno as _errno
import os as _os
import pickle as _pickle
diff --git a/lib/python/sectracker_test/run.py b/lib/python/sectracker_test/run.py
index ced75d56ae..717fa17166 100644
--- a/lib/python/sectracker_test/run.py
+++ b/lib/python/sectracker_test/run.py
@@ -14,7 +14,6 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-from __future__ import print_function
if __name__ != "__main__":
raise Exception("run must be executed directly")
diff --git a/lib/python/sectracker_test/test_analyzers.py b/lib/python/sectracker_test/test_analyzers.py
index e192945e2b..9b3bf6d820 100644
--- a/lib/python/sectracker_test/test_analyzers.py
+++ b/lib/python/sectracker_test/test_analyzers.py
@@ -14,7 +14,6 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-from __future__ import print_function
import os
diff --git a/lib/python/sectracker_test/test_xpickle.py b/lib/python/sectracker_test/test_xpickle.py
index 82135761ae..b333cbfe59 100644
--- a/lib/python/sectracker_test/test_xpickle.py
+++ b/lib/python/sectracker_test/test_xpickle.py
@@ -15,8 +15,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-from __future__ import with_statement
-
import tempfile
import sectracker.xpickle as x

© 2014-2024 Faster IT GmbH | imprint | privacy policy