diff options
author | 2019-04-24 17:25:47 -0400 | |
---|---|---|
committer | 2019-04-24 17:26:07 -0400 | |
commit | 3a146c286344474bd5d6958b3c2eab10341ff399 (patch) | |
tree | 660cf7a426de5f71f4dd49a12135feb86c5dbf22 /rmq.py | |
parent | Remove docstring newline linting from ignored codes (diff) |
Relint Snekbox with new linting rules
Diffstat (limited to 'rmq.py')
-rw-r--r-- | rmq.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -25,7 +25,6 @@ class Rmq: def consume(self, queue=QUEUE, callback=None, thread_ws=None, run_once=False): """Subscribe to read from a RMQ channel.""" - while True: try: connection = pika.BlockingConnection(self.con_params) @@ -72,7 +71,6 @@ class Rmq: def publish(self, message, queue=QUEUE, routingkey=ROUTING_KEY, exchange=EXCHANGE): """Open a connection to publish (write) to a RMQ channel.""" - try: connection = pika.BlockingConnection(self.con_params) |