Browse Source

celery.managers: s/Exceptions/Exception/

Jerzy Kozera 15 years ago
parent
commit
42e154dff6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/managers.py

+ 1 - 1
celery/managers.py

@@ -109,7 +109,7 @@ class TaskManager(models.Manager):
                 task.result = result
                 task.traceback = traceback
                 task.save()
-        except Exceptions, exc:
+        except Exception, exc:
             # depending on the database backend we can get various exceptions.
             # for excample, psycopg2 raises an exception if some operation
             # breaks transaction, and saving task result won't be possible