Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraleherbau2011-05-24 05:08:27 -0400
committeraleherbau2011-05-24 05:08:27 -0400
commitbb40c1e5e91bbb68530efd57552fe731a314a1b2 (patch)
treeace1d17d2956731ff89da0ced1c67178109660d8 /python/src/tcf/transport.py
parentc27b35ce63b8e661e5669b76e1390aeb30a99fe7 (diff)
downloadorg.eclipse.tcf-bb40c1e5e91bbb68530efd57552fe731a314a1b2.tar.gz
org.eclipse.tcf-bb40c1e5e91bbb68530efd57552fe731a314a1b2.tar.xz
org.eclipse.tcf-bb40c1e5e91bbb68530efd57552fe731a314a1b2.zip
TCF Python: Implemented service proxies Streams and Terminals
Diffstat (limited to 'python/src/tcf/transport.py')
-rw-r--r--python/src/tcf/transport.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/src/tcf/transport.py b/python/src/tcf/transport.py
index 1a046cee1..295f1c857 100644
--- a/python/src/tcf/transport.py
+++ b/python/src/tcf/transport.py
@@ -87,7 +87,10 @@ def addChannelOpenListener(listener):
_listeners.append(listener)
def removeChannelOpenListener(listener):
- _listeners.remove(listener)
+ try:
+ _listeners.remove(listener)
+ except ValueError:
+ pass # ignore
class TCPTransportProvider(TransportProvider):
def getName(self):

Back to the top