Преглед на файлове

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)