taskapp/events/task.py
changeset 111 c272d4c601cd
parent 105 091b044a3bf4
child 112 eadff01e395e
--- a/taskapp/events/task.py	Fri Feb 26 01:51:55 2010 +0530
+++ b/taskapp/events/task.py	Fri Feb 26 02:52:32 2010 +0530
@@ -14,6 +14,9 @@
         task.status = "LO"
     else:
         task.status = "OP"
+
+    task.mentors.clear()
+    task.mentors.add(task.created_by)
     task.save()
     return task