adds info method to brokers

This commit is contained in:
Ilan Steemers
2015-09-03 14:29:03 +02:00
parent b1f2143a3d
commit 01f8d9ce47
5 changed files with 20 additions and 0 deletions
+3
View File
@@ -46,6 +46,9 @@ class Sqs(Broker):
except Exception as e:
raise e
def info(self):
return 'AWS SQS'
@staticmethod
def get_connection(list_key=Conf.PREFIX):
conn = boto.sqs.connect_to_region(Conf.SQS['region'],