workaround: always make sure that flow.response.reply exists

This commit is contained in:
Maximilian Hils
2014-07-25 18:47:48 +02:00
parent a1fa34e61c
commit 4382829b7d
5 changed files with 9 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ class Channel:
try:
# The timeout is here so we can handle a should_exit event.
g = m.reply.q.get(timeout=0.5)
except Queue.Empty: # pragma: nocover
except Queue.Empty: # pragma: nocover
continue
return g