Fixes for Python 3.

main
Vincent Driessen 11 years ago
parent 49c7cf0af7
commit 536e8a89cf

@ -44,7 +44,7 @@ def state_symbol(state):
def show_queues(args):
if len(args.queues):
qs = map(Queue, args.queues)
qs = list(map(Queue, args.queues))
else:
qs = Queue.all()
@ -79,7 +79,7 @@ def show_queues(args):
def show_workers(args):
if len(args.queues):
qs = map(Queue, args.queues)
qs = list(map(Queue, args.queues))
def any_matching_queue(worker):
def queue_matches(q):

@ -77,7 +77,7 @@ def main():
cleanup_ghosts()
try:
queues = map(Queue, args.queues)
queues = list(map(Queue, args.queues))
w = Worker(queues, name=args.name)
# Should we configure Sentry?

Loading…
Cancel
Save