浏览代码

Fix grammar typo in docstring

Jozef 7 年之前
父节点
当前提交
5f2141af2e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/worker/control.py

+ 1 - 1
celery/worker/control.py

@@ -555,7 +555,7 @@ def cancel_consumer(state, queue, **_):
 
 @inspect_command()
 def active_queues(state):
-    """List the task queues a worker are currently consuming from."""
+    """List the task queues a worker is currently consuming from."""
     if state.consumer.task_consumer:
         return [dict(queue.as_dict(recurse=True))
                 for queue in state.consumer.task_consumer.queues]