mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
Revert "- reset retry counter on 404 answer for all python 2.7.x versions"
This reverts commit 320238350f
.
With python >= 2.7.1 this codepath should not be needed (see also
https://hg.python.org/cpython/rev/64287).
Conflicts:
osc/conf.py
This commit is contained in:
parent
b2ec0c263a
commit
68d10dfe8b
@ -476,7 +476,7 @@ def _build_opener(url):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
authhandler_class = OscHTTPBasicAuthHandler
|
authhandler_class = OscHTTPBasicAuthHandler
|
||||||
elif sys.version_info >= (2, 6, 6) and sys.version_info < (2, 7, 99):
|
elif sys.version_info >= (2, 6, 6) and sys.version_info < (2, 7, 1):
|
||||||
class OscHTTPBasicAuthHandler(HTTPBasicAuthHandler):
|
class OscHTTPBasicAuthHandler(HTTPBasicAuthHandler):
|
||||||
def http_error_404(self, *args):
|
def http_error_404(self, *args):
|
||||||
self.reset_retry_count()
|
self.reset_retry_count()
|
||||||
|
Loading…
Reference in New Issue
Block a user