From: Sophie Brun <sophie@freexian.com>
Date: Thu, 21 Jan 2021 15:03:52 +0100
Subject: Fix stomp usage for latest python3-stomp

Last-Update: 2021-01-21
Upstream-Forwarded: not-needed
Author: nsano-rururu <nsano@ae.em-net.ne.jp>
From: https://github.com/Yelp/elastalert/pull/3024

The latest version of Stomp does not support a top level .start() method call.
---
 elastalert/alerts.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/elastalert/alerts.py b/elastalert/alerts.py
index a453081..508bc80 100644
--- a/elastalert/alerts.py
+++ b/elastalert/alerts.py
@@ -371,7 +371,6 @@ class StompAlerter(Alerter):
 
         conn = stomp.Connection([(self.stomp_hostname, self.stomp_hostport)], use_ssl=self.stomp_ssl)
 
-        conn.start()
         conn.connect(self.stomp_login, self.stomp_password)
         # Ensures that the CONNECTED frame is received otherwise, the disconnect call will fail.
         time.sleep(1)
