Explorar o código

Missing import of celery.utils.noop

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
1b9c6fd28f
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      celery/messaging.py

+ 1 - 2
celery/messaging.py

@@ -8,8 +8,7 @@ from carrot.messaging import Publisher, Consumer, ConsumerSet
 
 from celery import conf
 from celery import signals
-from celery.utils import gen_unique_id
-from celery.utils import mitemgetter
+from celery.utils import gen_unique_id, mitemgetter, noop
 
 MSG_OPTIONS = ("mandatory", "priority",
                "immediate", "routing_key",