moksha/api/hub/consumer.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 349423f0cb112ae2ba663ad3c217897d462ef503
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Jan 7 20:14:15 2011 -0500
Typo
diff --git a/moksha/api/hub/consumer.py b/moksha/api/hub/consumer.py
index 5ce870f..1c5712c 100644
--- a/moksha/api/hub/consumer.py
+++ b/moksha/api/hub/consumer.py
@@ -25,6 +25,7 @@ loaded, and receives each message for the specified topic through the
.. moduleauthor:: Luke Macken <lmacken(a)redhat.com>
"""
+import uuid
import logging
log = logging.getLogger('moksha.hub')
@@ -49,8 +50,7 @@ class Consumer(object):
if isinstance(self.hub, AMQPLibHub):
# AMQPLibHub specific
- import uuid
- queue_name = str(uuid.uiud4())
+ queue_name = str(uuid.uuid4())
self.hub.queue_declare(queue=queue_name, exclusive=True)
self.hub.exchange_bind(queue_name, binding_key=topic)
if self.jsonify:
Show replies by date