Author: remi
Date: 2009-03-12 22:06:05 +0100 (Thu, 12 Mar 2009)
New Revision: 4032

Modified:
   software_suite_v2/tuxware/tuxdroidserver/trunk/TuxDroidServer.py
Log:
* added platform type in the server version (LINUX|WINDOWS)

Modified: software_suite_v2/tuxware/tuxdroidserver/trunk/TuxDroidServer.py
===================================================================
--- software_suite_v2/tuxware/tuxdroidserver/trunk/TuxDroidServer.py    
2009-03-12 21:01:56 UTC (rev 4031)
+++ software_suite_v2/tuxware/tuxdroidserver/trunk/TuxDroidServer.py    
2009-03-12 21:06:05 UTC (rev 4032)
@@ -46,7 +46,10 @@
 if not httpServer.getCreated():
     sys.exit(1)
 # Define a global variable with the server module version.
-serverVersion = __version__
+if os.name == 'nt':
+    serverVersion = "%s-WINDOWS" % __version__
+else:
+    serverVersion = "%s-LINUX" % __version__
 # Create the base path of the configurations if not exists
 DirectoriesAndFilesTools.MKDirs(TDS_RESOURCES_CONF_PATH)
 


------------------------------------------------------------------------------
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

Reply via email to