Просмотр исходного кода

Merge pull request #1315 from dctrwatson/fix-migrate

Fix 'celery migrate ...'
John Watson 12 лет назад
Родитель
Сommit
823a163ea8
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      celery/contrib/migrate.py

+ 1 - 0
celery/contrib/migrate.py

@@ -236,6 +236,7 @@ def start_filter(app, conn, filter, limit=None, timeout=1.0,
                  consume_from=None, state=None, **kwargs):
     state = state or State()
     queues = prepare_queues(queues)
+    consume_from = [_maybe_queue(app, q) for q in consume_from or queues.keys()]
     if isinstance(tasks, basestring):
         tasks = set(tasks.split(','))
     if tasks is None: