summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/ThriftClient.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend/ThriftClient.py')
-rw-r--r--module/remote/thriftbackend/ThriftClient.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/remote/thriftbackend/ThriftClient.py b/module/remote/thriftbackend/ThriftClient.py
index d5c203cf0..de9b9abd7 100644
--- a/module/remote/thriftbackend/ThriftClient.py
+++ b/module/remote/thriftbackend/ThriftClient.py
@@ -36,8 +36,10 @@ class ThriftClient:
try:
self.transport.open()
except error, e:
- if e.args and e.args[0] == 111:
+ if e.args and e.args[0] in (111, 10061):
raise NoConnection
+ else:
+ raise
try:
correct = self.client.login(user, password)