summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Proxy.py b/src/lib/Proxy.py
index 8e8917442..ac083dfa6 100644
--- a/src/lib/Proxy.py
+++ b/src/lib/Proxy.py
@@ -59,7 +59,7 @@ class RetryMethod(_Method):
except xmlrpclib.Fault:
raise
except socket.error, err:
- if err.errno == 336265218:
+ if hasattr(err, 'errno') and err.errno == 336265218:
self.log.error("SSL Key error")
break
if retry == 3: