Author: remi
Date: 2009-04-06 09:32:27 +0200 (Mon, 06 Apr 2009)
New Revision: 4341
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/scheduler/Task.py
Log:
* added a variable to store the task data
Modified: software_suite_v2/tuxware/tuxdroidserver/trunk/util/scheduler/Task.py
===================================================================
--- software_suite_v2/tuxware/tuxdroidserver/trunk/util/scheduler/Task.py
2009-04-06 06:49:24 UTC (rev 4340)
+++ software_suite_v2/tuxware/tuxdroidserver/trunk/util/scheduler/Task.py
2009-04-06 07:32:27 UTC (rev 4341)
@@ -19,7 +19,7 @@
# Constructor of the class.
#
--------------------------------------------------------------------------
def __init__(self, ruleType, weekMask, hour, minute, second, year, month,
- day, command, arguments):
+ day, command, arguments, data):
"""Constructor of the class.
@param ruleType: <SCH_LOOP_ABS|SCH_LOOP_REL|SCH_ONCE_ABS|SCH_ONCE_REL>
@param weekMask: Week mask. [True, True, True, True, True, True, True]
@@ -44,6 +44,7 @@
'command' : command,
'arguments' : arguments,
}
+ self.__data = data
self.__description = TaskDescription(self, dictionary)
now = datetime.datetime.now()
self.__monthAtStart = now.month
------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn