From acf08cb7a2b9cfaeac5e32e30e217d6b08d2b459 Mon Sep 17 00:00:00 2001 From: Umair Ashraf Date: Tue, 8 Sep 2015 00:12:49 -0400 Subject: [PATCH] replaced httpauth with auth in contrib --- scrapy/contrib/downloadermiddleware/httpauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/contrib/downloadermiddleware/httpauth.py b/scrapy/contrib/downloadermiddleware/httpauth.py index a37ffa0dc..493a4cf6f 100644 --- a/scrapy/contrib/downloadermiddleware/httpauth.py +++ b/scrapy/contrib/downloadermiddleware/httpauth.py @@ -4,4 +4,4 @@ warnings.warn("Module `scrapy.contrib.downloadermiddleware.httpauth` is deprecat "use `scrapy.downloadermiddlewares.httpauth` instead", ScrapyDeprecationWarning, stacklevel=2) -from scrapy.downloadermiddlewares.httpauth import * +from scrapy.downloadermiddlewares.auth import AuthMiddleware as HttpAuthMiddleware