From ebc05644d889a845260ad4299657bcab2fabe13e Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Tue, 10 Nov 2020 14:11:16 +0100 Subject: sectracker: remove future imports --- lib/python/sectracker/repo.py | 2 -- lib/python/sectracker/xpickle.py | 2 -- lib/python/sectracker_test/run.py | 1 - lib/python/sectracker_test/test_analyzers.py | 1 - lib/python/sectracker_test/test_xpickle.py | 2 -- 5 files changed, 8 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3