fixed a bug.
authornishanth
Wed, 24 Feb 2010 16:16:41 +0530
changeset 74 7dc764854867
parent 73 97953dc03ae3
child 75 fa59955a340b
fixed a bug.
taskapp/events/task.py
--- 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