mirror of https://github.com/scrapy/scrapy.git
Merge pull request #3735 from anubhavp28/smallfix
[MRG+1] Changes a parameter name in class `DummyPolicy`
This commit is contained in:
commit
4b791274d6
|
|
@ -31,7 +31,7 @@ class DummyPolicy(object):
|
|||
def should_cache_response(self, response, request):
|
||||
return response.status not in self.ignore_http_codes
|
||||
|
||||
def is_cached_response_fresh(self, response, request):
|
||||
def is_cached_response_fresh(self, cachedresponse, request):
|
||||
return True
|
||||
|
||||
def is_cached_response_valid(self, cachedresponse, response, request):
|
||||
|
|
|
|||
Loading…
Reference in New Issue