diff --git a/rq/scripts/rqgenload.py b/rq/scripts/rqgenload.py index 3a10b7e..b643c49 100755 --- a/rq/scripts/rqgenload.py +++ b/rq/scripts/rqgenload.py @@ -1,6 +1,6 @@ #!/usr/bin/env python import optparse -from rq import use_connection, Queue, Worker +from rq import use_connection, Queue from rq import dummy diff --git a/rq/scripts/rqworker.py b/rq/scripts/rqworker.py index 12ceb05..1a4bc76 100755 --- a/rq/scripts/rqworker.py +++ b/rq/scripts/rqworker.py @@ -27,7 +27,6 @@ def setup_loghandlers(args): loglevel = logbook.INFO formatter = format_colors - import sys handlers.NullHandler(bubble=False).push_application() handler = handlers.StreamHandler(sys.stdout, level=loglevel, bubble=False) if formatter: