diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-20 22:48:30 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-20 23:02:00 +0200 |
commit | 5a86c3cb1db6cd87bf9ae22e09dd209cecc0a363 (patch) | |
tree | d5fbe979c043f5aa684272c97c0305d3124b1901 /pyload/remote/thriftbackend/ThriftClient.py | |
parent | PEP-8, Python Zen, refactor and reduce code (part 12 in master module/remote/... (diff) | |
download | pyload-5a86c3cb1db6cd87bf9ae22e09dd209cecc0a363.tar.xz |
Spare code cosmetics (8)
Diffstat (limited to 'pyload/remote/thriftbackend/ThriftClient.py')
-rw-r--r-- | pyload/remote/thriftbackend/ThriftClient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/remote/thriftbackend/ThriftClient.py b/pyload/remote/thriftbackend/ThriftClient.py index 4f1c8dcc2..b018fbcc4 100644 --- a/pyload/remote/thriftbackend/ThriftClient.py +++ b/pyload/remote/thriftbackend/ThriftClient.py @@ -49,10 +49,10 @@ class ThriftClient(object): correct = self.client.login(user, password) except error, e: if e.args and e.args[0] == 104: - #connection reset by peer, probably wants ssl + # connection reset by peer, probably wants ssl try: self.createConnection(host, port, True) - #set timeout or a ssl socket will block when querying none ssl server + # set timeout or a ssl socket will block when querying none ssl server self.socket.setTimeout(10) except ImportError: |