taskapp/events/task.py
changeset 154 420f974328cc
parent 153 925af1b4ee65
child 156 7cad1e92713d
--- a/taskapp/events/task.py	Sun Feb 28 22:49:05 2010 +0530
+++ b/taskapp/events/task.py	Sun Feb 28 22:58:58 2010 +0530
@@ -144,7 +144,7 @@
     claim.creation_datetime = datetime.now()
     claim.save()
     
-def assignTask(task, user):
+def assignTask(task, user, assigned_by):
     """ check for the status of task and assign it to the particular user """
     
     if task.status in ['OP', 'WR']:
@@ -180,7 +180,7 @@
     mapobj.subs.remove(sub_task)
     mapobj.save()
 
-def removeUser(main_task, rem_user):
+def removeUser(main_task, rem_user, removed_by):
     """ right now, just remove the user from the list of assigned_users.
     """