Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraleherbau2011-05-19 12:48:10 +0000
committeraleherbau2011-05-19 12:48:10 +0000
commita1dfa9cc409eb736911e0be32b45f57a866e34c5 (patch)
tree97b7fa6c87076479630bdbc6a098d454264798e5 /python/src/tcf/channel/ChannelTCP.py
parent506dcea466abc2e93a508ddfbe2814d1046f3635 (diff)
downloadorg.eclipse.tcf-a1dfa9cc409eb736911e0be32b45f57a866e34c5.tar.gz
org.eclipse.tcf-a1dfa9cc409eb736911e0be32b45f57a866e34c5.tar.xz
org.eclipse.tcf-a1dfa9cc409eb736911e0be32b45f57a866e34c5.zip
TCF Python: Implemented Memory and MemoryMap service proxies, code cleanup
Diffstat (limited to 'python/src/tcf/channel/ChannelTCP.py')
-rw-r--r--python/src/tcf/channel/ChannelTCP.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/src/tcf/channel/ChannelTCP.py b/python/src/tcf/channel/ChannelTCP.py
index 1538ca067..ae020237b 100644
--- a/python/src/tcf/channel/ChannelTCP.py
+++ b/python/src/tcf/channel/ChannelTCP.py
@@ -30,9 +30,9 @@ class ChannelTCP(StreamChannel):
channel.socket = sock
channel._onSocketConnected(None)
protocol.invokeLater(CreateSocket())
-
+
def _onSocketConnected(self, x):
- if x:
+ if x:
self.terminate(x)
self.closed = True
if self.closed:
@@ -44,7 +44,7 @@ class ChannelTCP(StreamChannel):
else:
self.started = True
self.start()
-
+
def get(self):
if self.closed: return -1
try:

Back to the top