taskapp/events/task.py
changeset 74 7dc764854867
parent 63 1fc027bf99ee
child 89 1cc03941ed5d
--- a/taskapp/events/task.py	Wed Feb 24 16:10:24 2010 +0530
+++ b/taskapp/events/task.py	Wed Feb 24 16:16:41 2010 +0530
@@ -120,7 +120,7 @@
         try:
             task.title = title
             task.save()
-        except IntegrityError:
+        except Task.IntegrityError:
             return None
     if desc:task.desc = desc
     if credits:task.credits = credits