queue: Rename SimpleQueue to SimpleQueueClient

It doesn't represent a single queue; that's what the 'queue_name' arguments are
for.

(imported from commit 8382ae6793ca7c3ae4b5aacf2c128113a7a88fb6)
This commit is contained in:
Keegan McAllister
2013-01-18 13:01:20 -05:00
parent 2617bbcdff
commit f14db52f22
3 changed files with 5 additions and 5 deletions

View File

@@ -3,14 +3,14 @@ from django.core.management.base import BaseCommand
import simplejson
import pika
from zephyr.lib.actions import process_user_activity_event
from zephyr.lib.queue import SimpleQueue
from zephyr.lib.queue import SimpleQueueClient
class Command(BaseCommand):
option_list = BaseCommand.option_list
help = "Process UserActivity log messages."
def handle(self, *args, **options):
activity_queue = SimpleQueue()
activity_queue = SimpleQueueClient()
def callback(ch, method, properties, event):
print " [x] Received %r" % (event,)