diff options
Diffstat (limited to 'python/src/tcf/transport.py')
-rw-r--r-- | python/src/tcf/transport.py | 5 |
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):
|