Let's keep things readable.

main
Vincent Driessen 11 years ago
parent 28dcb5dcd1
commit 3546aae0c0

@ -74,11 +74,11 @@ def main():
setup_redis(args) setup_redis(args)
cleanup_ghosts() cleanup_ghosts()
w_class = import_attribute(args.worker_class) worker_class = import_attribute(args.worker_class)
try: try:
queues = list(map(Queue, args.queues)) queues = list(map(Queue, args.queues))
w = w_class(queues, name=args.name) w = worker_class(queues, name=args.name)
# Should we configure Sentry? # Should we configure Sentry?
if args.sentry_dsn: if args.sentry_dsn:

Loading…
Cancel
Save