mirror of https://github.com/scrapy/scrapy.git
deprecate retry_on_eintr (#4683)
This commit is contained in:
parent
07470e1a3c
commit
b97a39fda0
|
|
@ -285,6 +285,7 @@ class WeakKeyCache:
|
|||
return self._weakdict[key]
|
||||
|
||||
|
||||
@deprecated
|
||||
def retry_on_eintr(function, *args, **kw):
|
||||
"""Run a function and retry it while getting EINTR errors"""
|
||||
while True:
|
||||
|
|
|
|||
Loading…
Reference in New Issue