Scrapy, a fast high-level web crawling & scraping framework for Python.
Fix flake8-detected errors.
Andrey Rakhmatulline291460db67e
diff --git a/scrapy/crawler.py b/scrapy/crawler.pyindex 19b998e0d..8868a985b 100644--- a/scrapy/crawler.py+++ b/scrapy/crawler.py@@ -3,7 +3,6 @@ import signalimport loggingimport warnings-import sysfrom twisted.internet import reactor, deferfrom zope.interface.verify import verifyClass, DoesNotImplementdiff --git a/scrapy/exporters.py b/scrapy/exporters.pyindex 8eb52995e..3defafd60 100644--- a/scrapy/exporters.py+++ b/scrapy/exporters.py@@ -4,7 +4,6 @@ Item Exporters are used to export/serialize items into different formats.import csvimport io-import sysimport pprintimport marshalimport sixdiff --git a/scrapy/http/cookies.py b/scrapy/http/cookies.pyindex 4532c3ab7..60a14c6f8 100644--- a/scrapy/http/cookies.py+++ b/scrapy/http/cookies.py@@ -166,7 +166,7 @@ class WrappedRequest(object):def get_header(self, name, default=None):return to_unicode(self.request.headers.get(name, default),- errors='replace')+ errors='replace')def header_items(self):return [diff --git a/scrapy/link.py b/scrapy/link.pyindex be1888ef0..a809c5ca4 100644--- a/scrapy/link.py+++ b/scrapy/link.py@@ -4,6 +4,8 @@ This module defines the Link object used in Link extractors.For actual link extractors implementation see scrapy.linkextractors, orits documentation in: docs/topics/link-extractors.rst"""++class Link(object):"""Link objects represent an extracted link by the LinkExtractor."""diff --git a/tests/test_pipeline_media.py b/tests/test_pipeline_media.pyindex ad2618ec9..ad958e25f 100644--- a/tests/test_pipeline_media.py+++ b/tests/test_pipeline_media.py@@ -1,7 +1,5 @@from __future__ import print_function-import sys-from testfixtures import LogCapturefrom twisted.trial import unittestfrom twisted.python.failure import Failure