From 361e74f757af4cffe361aaf401871501fca9a67d Mon Sep 17 00:00:00 2001 From: Valerij Maljulin Date: Nov 04 2020 11:09:02 +0000 Subject: Remove start call for the stomp.py connection as it is deprecated Function start() was an empty call since 2017 according to stomp.py git history JIRA: RHELWF-2180 --- diff --git a/waiverdb/utils.py b/waiverdb/utils.py index 15efa7a..115713e 100644 --- a/waiverdb/utils.py +++ b/waiverdb/utils.py @@ -91,7 +91,6 @@ def stomp_connection(): raise RuntimeError('stomp was configured to publish messages,, ' 'but connection is not configured in STOMP_CONFIGS') conn = stomp.Connection(**configs['connection']) - conn.start() conn.connect(**configs.get('credentials', {})) try: yield conn