[tuxdroid-svn] r4939 - software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-06-29 14:46:56
|
Author: remi
Date: 2009-06-29 16:46:45 +0200 (Mon, 29 Jun 2009)
New Revision: 4939
Modified:
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/03_resourceUgcServer.py
Log:
* fixed bug with daemon tasks
Modified: software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/03_resourceUgcServer.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/03_resourceUgcServer.py 2009-06-29 14:11:07 UTC (rev 4938)
+++ software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/03_resourceUgcServer.py 2009-06-29 14:46:45 UTC (rev 4939)
@@ -300,7 +300,8 @@
[delay['hour'], delay['minute'], delay['second']],
data)
ugcTask.setTaskId1(taskId)
- if ugc.getCommand(parentTask.getCommand()).isDaemon():
+ if ugc.getCommand(parentTask.getCommand()).isDaemon() and \
+ parentTask.getType() == "DAILY AT":
command = "resourceUgcServer.stopUgc"
arguments = (ugc.getDescription().getUuid(),)
data = {
|