Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Remove the used import and re-arrange the imports (#4208)

Grammy Jiang74627033c4a1
diff --git a/scrapy/downloadermiddlewares/cookies.py b/scrapy/downloadermiddlewares/cookies.py
index 0d2b9900c..aeb7578b8 100644
--- a/scrapy/downloadermiddlewares/cookies.py
+++ b/scrapy/downloadermiddlewares/cookies.py
@@ -1,8 +1,8 @@
-import os
-import six
import logging
from collections import defaultdict
+import six
+
from scrapy.exceptions import NotConfigured
from scrapy.http import Response
from scrapy.http.cookies import CookieJar