mirror of
https://github.com/ansible/awx.git
synced 2026-03-18 09:27:31 -02:30
Modernize Python 2 code to get ready for Python 3
This commit is contained in:
@@ -46,6 +46,6 @@ class CallbackQueueDispatcher(object):
|
||||
delivery_mode="persistent" if settings.PERSISTENT_CALLBACK_MESSAGES else "transient",
|
||||
routing_key=self.connection_queue)
|
||||
return
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
self.logger.info('Publish Job Event Exception: %r, retry=%d', e,
|
||||
retry_count, exc_info=True)
|
||||
|
||||
Reference in New Issue
Block a user