summaryrefslogtreecommitdiffstats
path: root/pyload/remote/thriftbackend/Socket.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 22:48:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:02:00 +0200
commit5a86c3cb1db6cd87bf9ae22e09dd209cecc0a363 (patch)
treed5fbe979c043f5aa684272c97c0305d3124b1901 /pyload/remote/thriftbackend/Socket.py
parentPEP-8, Python Zen, refactor and reduce code (part 12 in master module/remote/... (diff)
downloadpyload-5a86c3cb1db6cd87bf9ae22e09dd209cecc0a363.tar.xz
Spare code cosmetics (8)
Diffstat (limited to 'pyload/remote/thriftbackend/Socket.py')
-rw-r--r--pyload/remote/thriftbackend/Socket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/remote/thriftbackend/Socket.py b/pyload/remote/thriftbackend/Socket.py
index 3d2435a92..0ca9ed178 100644
--- a/pyload/remote/thriftbackend/Socket.py
+++ b/pyload/remote/thriftbackend/Socket.py
@@ -68,7 +68,7 @@ class Socket(TSocket):
else:
self.handle = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- #errno 104 connection reset
+ # errno 104 connection reset
self.handle.settimeout(self._timeout)
self.handle.connect((self.host, self.port))
@@ -94,7 +94,7 @@ class Socket(TSocket):
if e.args == (-1, 'Unexpected EOF'):
buff = ''
elif e.args == ([('SSL routines', 'SSL23_GET_CLIENT_HELLO', 'unknown protocol')],):
- #a socket not using ssl tried to connect
+ # a socket not using ssl tried to connect
buff = ''
else:
raise