diff --git a/linkcheck/better_exchook2.py b/linkcheck/better_exchook2.py index ea9c5eda..508a6b76 100644 --- a/linkcheck/better_exchook2.py +++ b/linkcheck/better_exchook2.py @@ -33,7 +33,6 @@ # https://github.com/albertz/py_better_exchook -from __future__ import print_function import sys import os diff --git a/linkcheck/cmdline.py b/linkcheck/cmdline.py index 165c69d4..bcf0e3d2 100644 --- a/linkcheck/cmdline.py +++ b/linkcheck/cmdline.py @@ -17,7 +17,6 @@ """ Utility functions suitable for command line clients. """ -from __future__ import print_function import sys import argparse from . import checker, fileutil, strformat, plugins diff --git a/linkcheck/decorators.py b/linkcheck/decorators.py index 05cb596b..4fa7a8f4 100644 --- a/linkcheck/decorators.py +++ b/linkcheck/decorators.py @@ -35,7 +35,6 @@ def h (): pass """ -from __future__ import print_function import warnings import signal import os diff --git a/linkcheck/director/console.py b/linkcheck/director/console.py index a914305b..1d3d4484 100644 --- a/linkcheck/director/console.py +++ b/linkcheck/director/console.py @@ -17,7 +17,6 @@ """ Helpers for console output. """ -from __future__ import print_function import sys import os import time diff --git a/linkcheck/loader.py b/linkcheck/loader.py index 52e182ea..bde49e16 100644 --- a/linkcheck/loader.py +++ b/linkcheck/loader.py @@ -7,7 +7,6 @@ Example usage: modules = loader.get_package_modules('plugins') plugins = loader.get_plugins(modules, PluginClass) """ -from __future__ import print_function import os import sys import zipfile diff --git a/linkcheck/logger/html.py b/linkcheck/logger/html.py index cdcdab0a..b31b9a72 100644 --- a/linkcheck/logger/html.py +++ b/linkcheck/logger/html.py @@ -18,8 +18,6 @@ A HTML logger. """ -from __future__ import absolute_import - from html import escape as html_escape import os import time diff --git a/linkcheck/trace.py b/linkcheck/trace.py index b9225365..483e3a7a 100644 --- a/linkcheck/trace.py +++ b/linkcheck/trace.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 re import linecache import time diff --git a/tests/__init__.py b/tests/__init__.py index 005b1f39..227c2837 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -14,8 +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 signal import subprocess import os