summaryrefslogtreecommitdiff
path: root/portato/__init__.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-15 12:03:02 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-15 12:03:02 +0200
commitcc13f5299417b0a08db0399cee9c548013c87513 (patch)
treebce61fe073984175888638042683b344646a9f88 /portato/__init__.py
parent088452702812614cbbbaa64b116f29971920fac2 (diff)
downloadportato-cc13f5299417b0a08db0399cee9c548013c87513.tar.gz
portato-cc13f5299417b0a08db0399cee9c548013c87513.tar.bz2
portato-cc13f5299417b0a08db0399cee9c548013c87513.zip
Correctly handle exceptions
Diffstat (limited to '')
-rw-r--r--portato/__init__.py5
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.")