From 017a1087ba8859850ff94b008f012fb9013fbffb Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sun, 21 Nov 2010 10:45:30 +0100 Subject: [PATCH] Remove unneeded __future__ import --- cgi-bin/lc.fcgi | 1 - linkcheck/cache/urlqueue.py | 1 - linkcheck/clamav.py | 1 - linkcheck/cookies.py | 1 - linkcheck/decorators.py | 1 - linkcheck/logger/blacklist.py | 1 - tests/__init__.py | 1 - tests/checker/__init__.py | 1 - tests/dns/test_zone.py | 1 - 9 files changed, 9 deletions(-) diff --git a/cgi-bin/lc.fcgi b/cgi-bin/lc.fcgi index fa4f0ec6..72812154 100755 --- a/cgi-bin/lc.fcgi +++ b/cgi-bin/lc.fcgi @@ -16,7 +16,6 @@ # 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 fcgi import linkcheck import linkcheck.lc_cgi diff --git a/linkcheck/cache/urlqueue.py b/linkcheck/cache/urlqueue.py index 9e20ad07..90f697c1 100644 --- a/linkcheck/cache/urlqueue.py +++ b/linkcheck/cache/urlqueue.py @@ -17,7 +17,6 @@ """ Handle a queue of URLs to check. """ -from __future__ import with_statement import threading import collections from time import time as _time diff --git a/linkcheck/clamav.py b/linkcheck/clamav.py index 5fc60d85..5f7c5c20 100644 --- a/linkcheck/clamav.py +++ b/linkcheck/clamav.py @@ -15,7 +15,6 @@ # 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 socket import os from . import log, LOG_ROOT diff --git a/linkcheck/cookies.py b/linkcheck/cookies.py index e221c6bf..709ffbac 100644 --- a/linkcheck/cookies.py +++ b/linkcheck/cookies.py @@ -27,7 +27,6 @@ And a cookie storage class is provided. [2] http://www.faqs.org/rfcs/rfc2109.html """ -from __future__ import with_statement import time import re import Cookie diff --git a/linkcheck/decorators.py b/linkcheck/decorators.py index 514656a0..e4027378 100644 --- a/linkcheck/decorators.py +++ b/linkcheck/decorators.py @@ -35,7 +35,6 @@ def h (): pass """ -from __future__ import with_statement import warnings import signal import os diff --git a/linkcheck/logger/blacklist.py b/linkcheck/logger/blacklist.py index f1cc728d..6c79a73c 100644 --- a/linkcheck/logger/blacklist.py +++ b/linkcheck/logger/blacklist.py @@ -18,7 +18,6 @@ A blacklist logger. """ -from __future__ import with_statement import os from . import Logger from .. import i18n diff --git a/tests/__init__.py b/tests/__init__.py index 588df7c3..195d5865 100644 --- a/tests/__init__.py +++ b/tests/__init__.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 with_statement # Required in 2.5 import signal import subprocess import os diff --git a/tests/checker/__init__.py b/tests/checker/__init__.py index fa979dff..43378590 100644 --- a/tests/checker/__init__.py +++ b/tests/checker/__init__.py @@ -17,7 +17,6 @@ """ Define standard test support classes funtional for LinkChecker tests. """ -from __future__ import with_statement import os import re import codecs diff --git a/tests/dns/test_zone.py b/tests/dns/test_zone.py index 06d36e6a..355540ba 100644 --- a/tests/dns/test_zone.py +++ b/tests/dns/test_zone.py @@ -14,7 +14,6 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -from __future__ import with_statement from cStringIO import StringIO import os import unittest