Ask Solem před 11 roky
rodič
revize
7a1b634c42
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      celery/result.py
  2. 1 1
      docs/glossary.rst

+ 1 - 1
celery/result.py

@@ -41,7 +41,7 @@ raised instead of just being a warning.
 
 def assert_will_not_block():
     if task_join_will_block():
-        warnings.warn(RuntimeWarning(E_WOULDBLOCK)
+        warnings.warn(RuntimeWarning(E_WOULDBLOCK))
 
 
 @contextmanager

+ 1 - 1
docs/glossary.rst

@@ -80,4 +80,4 @@ Glossary
     prefetch count
         Maximum number of unacknowledged messages a consumer can hold and if
         exceeded the transport should not deliver any more messages to that
-        consumer.  See :ref:`optimizing-prefetch-limits`.
+        consumer.  See :ref:`optimizing-prefetch-limit`.