Author: remi
Date: 2009-03-31 18:27:48 +0200 (Tue, 31 Mar 2009)
New Revision: 4299

Modified:
   
software_suite_v2/tuxware/tuxdroidserver/trunk/util/SimpleGadget/SimpleGadget.py
   
software_suite_v2/tuxware/tuxdroidserver/trunk/util/SimpleGadget/SimpleGadgetConfiguration.py
Log:
* "traces" parameter is set to True by default
* fixed a bug with the boolean parameters

Modified: 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/SimpleGadget/SimpleGadget.py
===================================================================
--- 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/SimpleGadget/SimpleGadget.py
    2009-03-31 16:11:15 UTC (rev 4298)
+++ 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/SimpleGadget/SimpleGadget.py
    2009-03-31 16:27:48 UTC (rev 4299)
@@ -195,9 +195,9 @@
                                 continue
                         elif paramType == 'bool':
                             if environValue == "true":
-                                environValue = "True"
+                                environValue = True
                             else:
-                                environValue = "False"
+                                environValue = False
                         else:
                             # Unknow parameter type
                             self.throwError("Unknow parameter type (%s)" % 
paramType)

Modified: 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/SimpleGadget/SimpleGadgetConfiguration.py
===================================================================
--- 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/SimpleGadget/SimpleGadgetConfiguration.py
       2009-03-31 16:11:15 UTC (rev 4298)
+++ 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/SimpleGadget/SimpleGadgetConfiguration.py
       2009-03-31 16:27:48 UTC (rev 4299)
@@ -28,7 +28,7 @@
     def __init__(self):
         """Constructor of the class.
         """
-        self.__traces = False
+        self.__traces = True
         self.__pitch = 100
         self.__language = "en"
         self.__country = "US"


------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to