Author: remi
Date: 2009-03-13 20:35:43 +0100 (Fri, 13 Mar 2009)
New Revision: 4065
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/Framework.py
Log:
* fixed bug of list index
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/Framework.py
===================================================================
--- software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/Framework.py
2009-03-13 19:32:21 UTC (rev 4064)
+++ software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/Framework.py
2009-03-13 19:35:43 UTC (rev 4065)
@@ -422,7 +422,7 @@
elif args[0] == "GADGET":
if args[1] == "ERROR":
message = ""
- for line in args[7:]:
+ for line in args[4:]:
message += line
self.__logger.logWarning("[Framework] Gadget error (%s) :
(%s)" % (args[2], message))
if self.__onGadgetErrorCallback != None:
@@ -444,7 +444,7 @@
self.__onGagdetStoppedCallback(args[2], args[3])
elif args[1] == "TRACE":
message = ""
- for line in args[7:]:
+ for line in args[4:]:
message += line
self.__logger.logInfo("[Framework] Gadget trace (%s) : (%s)" %
(args[2], message))
if self.__onGadgetTraceCallback != None:
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn