소스 검색

comments applied to opposite code block (#4364)

from my reading of the code, these comments were the wrong way round
anentropic 7 년 전
부모
커밋
1bb747a627
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      celery/app/amqp.py

+ 2 - 2
celery/app/amqp.py

@@ -198,9 +198,9 @@ class Queues(dict):
         if exclude:
             exclude = maybe_list(exclude)
             if self._consume_from is None:
-                # using selection
+                # using all queues
                 return self.select(k for k in self if k not in exclude)
-            # using all queues
+            # using selection
             for queue in exclude:
                 self._consume_from.pop(queue, None)