Author: remi
Date: 2008-12-13 22:32:48 +0100 (Sat, 13 Dec 2008)
New Revision: 3098

Modified:
   software_suite_v2/tuxware/tuxhttpserver/trunk/src/tuxhttpserver.py
Log:
* log the firmware versions

Modified: software_suite_v2/tuxware/tuxhttpserver/trunk/src/tuxhttpserver.py
===================================================================
--- software_suite_v2/tuxware/tuxhttpserver/trunk/src/tuxhttpserver.py  
2008-12-13 21:28:55 UTC (rev 3097)
+++ software_suite_v2/tuxware/tuxhttpserver/trunk/src/tuxhttpserver.py  
2008-12-13 21:32:48 UTC (rev 3098)
@@ -226,6 +226,10 @@
         """
         # Parse the structure of the status
         statusStruct =  self.__tuxDrv.GetStatusStruct(status)
+        # Log the "symbolic version" of the firmwares
+        if str(statusStruct['name']).find("symbolic_version") != -1:
+            Glb_ServerLog.logInfo("%s|%s" % (str(statusStruct['name']),
+                str(statusStruct['value'])))
         # Dispatch the status
         if statusStruct['name'] in SW_USER_STATUSES:
             self.__clientController.pushUserEvents([statusStruct,])


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to