From 7a3b6667c7d30797cf57af992090324a78433b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 20 Mar 2013 14:11:58 +0100 Subject: [PATCH] - reset retry counter on 404 answer for all python 2.7.x versions --- osc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/conf.py b/osc/conf.py index cfcfc5c2..2950ffe0 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -452,7 +452,7 @@ def _build_opener(url): return None authhandler_class = OscHTTPBasicAuthHandler - elif sys.version_info >= (2, 6, 6) and sys.version_info < (2, 7, 1): + elif sys.version_info >= (2, 6, 6) and sys.version_info < (2, 7, 99): class OscHTTPBasicAuthHandler(urllib2.HTTPBasicAuthHandler): def http_error_404(self, *args): self.reset_retry_count()