diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-08-15 12:03:02 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-08-15 12:03:02 +0200 |
commit | cc13f5299417b0a08db0399cee9c548013c87513 (patch) | |
tree | bce61fe073984175888638042683b344646a9f88 /portato/__init__.py | |
parent | 088452702812614cbbbaa64b116f29971920fac2 (diff) | |
download | portato-cc13f5299417b0a08db0399cee9c548013c87513.tar.gz portato-cc13f5299417b0a08db0399cee9c548013c87513.tar.bz2 portato-cc13f5299417b0a08db0399cee9c548013c87513.zip |
Correctly handle exceptions
Diffstat (limited to '')
-rw-r--r-- | portato/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/portato/__init__.py b/portato/__init__.py index 433c89a..74145e7 100644 --- a/portato/__init__.py +++ b/portato/__init__.py @@ -126,4 +126,7 @@ def start(): get_listener().close() lt.join() - mq.remove() + try: + mq.remove() + except ipc.MessageQueueRemovedError: + debug("MessageQueue already removed. Ignore.") |