Browse Source

new flakes in flake8 2.0

Ask Solem 12 years ago
parent
commit
4d1806ca6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/bin/worker.py

+ 1 - 1
celery/bin/worker.py

@@ -153,7 +153,7 @@ class worker(Command):
 
     def maybe_detach(self, argv, dopts=['-D', '--detach']):
         if any(arg in argv for arg in dopts):
-            argv = [arg for arg in argv if arg not in dopts]
+            argv = [v for v in argv if v not in dopts]
             # never returns
             detached_celeryd().execute_from_commandline(argv)
             raise SystemExit(0)