# HG changeset patch # User nishanth # Date 1267008401 -19800 # Node ID 7dc7648548679f378c89af6031c98eea579d3474 # Parent 97953dc03ae318730946a7a7df9384c025f71b65 fixed a bug. diff -r 97953dc03ae3 -r 7dc764854867 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