diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-11-10 14:11:16 +0100 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-11-10 14:11:50 +0100 |
commit | 1d6aacb785883ca82b6f05164fdf3075c782e34e (patch) | |
tree | 23e9bc251cce24826e71c6b92d3840d9d301961d /lib | |
parent | 3091cb950f2cafbd86d94180887d157f88506af7 (diff) |
sectracker: remove future imports
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/sectracker/repo.py | 2 | ||||
-rw-r--r-- | lib/python/sectracker/xpickle.py | 2 | ||||
-rw-r--r-- | lib/python/sectracker_test/run.py | 1 | ||||
-rw-r--r-- | lib/python/sectracker_test/test_analyzers.py | 1 | ||||
-rw-r--r-- | lib/python/sectracker_test/test_xpickle.py | 2 |
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 |