Browse Source

Merge pull request #2644 from JocelynDelalande/patch-1

Missing exceptions in celery.exceptions.__all__
Omer Katz 9 years ago
parent
commit
f29a55d135
1 changed files with 2 additions and 2 deletions
  1. 2 2
      celery/exceptions.py

+ 2 - 2
celery/exceptions.py

@@ -21,12 +21,12 @@ __all__ = [
     'SecurityError', 'Ignore', 'QueueNotFound',
     'WorkerShutdown', 'WorkerTerminate',
     'ImproperlyConfigured', 'NotRegistered', 'AlreadyRegistered',
-    'TimeoutError', 'MaxRetriesExceededError', 'Retry',
+    'TimeoutError', 'MaxRetriesExceededError', 'Retry', 'Reject',
     'TaskRevokedError', 'NotConfigured', 'AlwaysEagerIgnored',
     'InvalidTaskError', 'ChordError', 'CPendingDeprecationWarning',
     'CDeprecationWarning', 'FixupWarning', 'DuplicateNodenameWarning',
     'SoftTimeLimitExceeded', 'TimeLimitExceeded', 'WorkerLostError',
-    'Terminated',
+    'Terminated', 'IncompleteStream'
 ]
 
 UNREGISTERED_FMT = """\