mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-14 05:49:48 +08:00
don't assign the exception to a variable to make flake8 happy
This commit is contained in:
@@ -295,7 +295,7 @@ def _in_memory_publish(topic, msg, conf, service):
|
||||
work_queue_put(wrapped_msg)
|
||||
except ValueError as e:
|
||||
log.warning("No MBSConsumer found. Shutting down? %r" % e)
|
||||
except AttributeError as e:
|
||||
except AttributeError:
|
||||
# In the event that `moksha.hub._hub` hasn't yet been initialized, we
|
||||
# need to store messages on the side until it becomes available.
|
||||
# As a last-ditch effort, try to hang initial messages in the config.
|
||||
|
||||
Reference in New Issue
Block a user