Author: remi
Date: 2009-06-14 22:08:01 +0200 (Sun, 14 Jun 2009)
New Revision: 4811

Modified:
   software_suite_v3/smart-core/smart-server/trunk/TDSResourcesManager.py
Log:
* reversed the order of the resources stopping

Modified: software_suite_v3/smart-core/smart-server/trunk/TDSResourcesManager.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/TDSResourcesManager.py      
2009-06-14 19:17:53 UTC (rev 4810)
+++ software_suite_v3/smart-core/smart-server/trunk/TDSResourcesManager.py      
2009-06-14 20:08:01 UTC (rev 4811)
@@ -534,10 +534,11 @@
     #
     # 
--------------------------------------------------------------------------
     def stop(self):
+        self.__resourcesList.reverse()
         for regResource in self.__resourcesList:
-            self.__logger.logInfo("Start resource [%s]" % regResource[0])
+            self.__logger.logInfo("Stop resource [%s]" % regResource[0])
             regResource[1]._doStop()
-            self.__logger.logInfo("Resource started [%s]" % regResource[0])
+            self.__logger.logInfo("Resource stopped [%s]" % regResource[0])
 
     # 
--------------------------------------------------------------------------
     #


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to