Scrapy, a fast high-level web crawling & scraping framework for Python.
removed some unused imports
Pablo Hoffman4b0d69cc6d7a
diff --git a/scrapy/trunk/scrapy/contrib/downloadermiddleware/cookies.py b/scrapy/trunk/scrapy/contrib/downloadermiddleware/cookies.pyindex 366bf299f..fc19af08c 100644--- a/scrapy/trunk/scrapy/contrib/downloadermiddleware/cookies.py+++ b/scrapy/trunk/scrapy/contrib/downloadermiddleware/cookies.py@@ -1,7 +1,6 @@from pydispatch import dispatcherfrom scrapy.core import signals-from scrapy.core.engine import scrapyenginefrom scrapy.utils.misc import dict_updatedefaultclass CookiesMiddleware(object):diff --git a/scrapy/trunk/scrapy/contrib/downloadermiddleware/debug.py b/scrapy/trunk/scrapy/contrib/downloadermiddleware/debug.pyindex f398fe078..7e929fe18 100644--- a/scrapy/trunk/scrapy/contrib/downloadermiddleware/debug.py+++ b/scrapy/trunk/scrapy/contrib/downloadermiddleware/debug.py@@ -1,6 +1,5 @@from scrapy import logfrom scrapy.core.exceptions import NotConfigured-from scrapy.conf import settingsclass CrawlDebug(object):diff --git a/scrapy/trunk/scrapy/contrib/pipeline/s3images.py b/scrapy/trunk/scrapy/contrib/pipeline/s3images.pyindex 0d0843684..fc746d74f 100644--- a/scrapy/trunk/scrapy/contrib/pipeline/s3images.py+++ b/scrapy/trunk/scrapy/contrib/pipeline/s3images.py@@ -1,6 +1,4 @@import time-import hmac-import base64import hashlibimport rfc822from cStringIO import StringIO@@ -9,14 +7,13 @@ import Imagefrom scrapy import logfrom scrapy.http import Request-from scrapy.stats import statsfrom scrapy.core.engine import scrapyengine-from scrapy.core.exceptions import DropItem, NotConfigured, HttpException+from scrapy.core.exceptions import NotConfiguredfrom scrapy.contrib.pipeline.media import MediaPipelinefrom scrapy.contrib.aws import sign_requestfrom scrapy.conf import settings-from .images import BaseImagesPipeline, NoimagesDrop, ImageException+from .images import BaseImagesPipeline, ImageExceptiondef md5sum(buffer):diff --git a/scrapy/trunk/scrapy/core/downloader/webclient.py b/scrapy/trunk/scrapy/core/downloader/webclient.pyindex 9d0180af4..35d7b3e7e 100644--- a/scrapy/trunk/scrapy/core/downloader/webclient.py+++ b/scrapy/trunk/scrapy/core/downloader/webclient.py@@ -1,7 +1,6 @@from urlparse import urlunparsefrom twisted.web.client import HTTPClientFactory-from twisted.internet import reactorfrom scrapy.http import Urldiff --git a/scrapy/trunk/scrapy/core/scheduler/middleware.py b/scrapy/trunk/scrapy/core/scheduler/middleware.pyindex 52dc2b6b5..5be834208 100644--- a/scrapy/trunk/scrapy/core/scheduler/middleware.py+++ b/scrapy/trunk/scrapy/core/scheduler/middleware.py@@ -8,7 +8,7 @@ docs/topics/scheduler-middleware.rstfrom twisted.internet.defer import Deferredfrom scrapy import log-from scrapy.http import Request, Response+from scrapy.http import Responsefrom scrapy.core.exceptions import NotConfiguredfrom scrapy.utils.misc import load_objectfrom scrapy.utils.defer import mustbe_deferreddiff --git a/scrapy/trunk/scrapy/http/response/html.py b/scrapy/trunk/scrapy/http/response/html.pyindex a3c6d9ecf..013e0805b 100644--- a/scrapy/trunk/scrapy/http/response/html.py+++ b/scrapy/trunk/scrapy/http/response/html.py@@ -7,8 +7,6 @@ See documentation in docs/ref/request-response.rstimport re-from BeautifulSoup import UnicodeDammit-from scrapy.http.response.text import TextResponsefrom scrapy.utils.python import memoizemethoddiff --git a/scrapy/trunk/scrapy/http/response/xml.py b/scrapy/trunk/scrapy/http/response/xml.pyindex 330c0a6a9..d14aaa80f 100644--- a/scrapy/trunk/scrapy/http/response/xml.py+++ b/scrapy/trunk/scrapy/http/response/xml.py@@ -7,8 +7,6 @@ See documentation in docs/ref/request-response.rstimport re-from BeautifulSoup import UnicodeDammit-from scrapy.http.response.text import TextResponsefrom scrapy.utils.python import memoizemethoddiff --git a/scrapy/trunk/scrapy/patches/monkeypatches.py b/scrapy/trunk/scrapy/patches/monkeypatches.pyindex 39a88ff95..6425ea27c 100644--- a/scrapy/trunk/scrapy/patches/monkeypatches.py+++ b/scrapy/trunk/scrapy/patches/monkeypatches.py@@ -4,7 +4,6 @@ Monkey patchesThese are generally a bad idea."""import twisted-from twisted.web.client import HTTPClientFactory# Extend limit for BeautifulSoup parsing loops