changeset 95 | e4034904f82e |
parent 94 | d1f59bbc2685 |
child 96 | 2881ed1c52b0 |
--- a/taskapp/events/task.py Thu Feb 25 16:17:56 2010 +0530 +++ b/taskapp/events/task.py Thu Feb 25 16:37:46 2010 +0530 @@ -182,3 +182,10 @@ main_task.assigned_users.remove(rem_user) main_task.save() + +def completeTask(main_task): + """ set the status of task to CP. + """ + + main_task.status = "CP" + main_task.save()