From 2ff383162c683152de9fee95fd3587d91f36d068 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Mon, 28 Nov 2011 14:14:11 +0100 Subject: [PATCH] Fix bug #15. --- bin/rqinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rqinfo b/bin/rqinfo index b1c7813..cc154d8 100755 --- a/bin/rqinfo +++ b/bin/rqinfo @@ -95,7 +95,7 @@ def show_workers(args): queues[q].append(w) if args.by_queue: - max_qname = max(map(lambda q: len(q.name), queues.keys())) + max_qname = max(map(lambda q: len(q.name), queues.keys())) if queues else 0 for q in queues: if queues[q]: queues_str = ", ".join(sorted(map(lambda w: '%s (%s)' % (w.name, state_symbol(w.state)), queues[q])))