From 3546aae0c03ebc2f15d849fb438bef6015452083 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Mon, 23 Sep 2013 15:18:10 +0200 Subject: [PATCH] Let's keep things readable. --- rq/scripts/rqworker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rq/scripts/rqworker.py b/rq/scripts/rqworker.py index 250886e..904ddea 100644 --- a/rq/scripts/rqworker.py +++ b/rq/scripts/rqworker.py @@ -74,11 +74,11 @@ def main(): setup_redis(args) cleanup_ghosts() - w_class = import_attribute(args.worker_class) + worker_class = import_attribute(args.worker_class) try: queues = list(map(Queue, args.queues)) - w = w_class(queues, name=args.name) + w = worker_class(queues, name=args.name) # Should we configure Sentry? if args.sentry_dsn: