Author: remi
Date: 2009-03-12 14:06:18 +0100 (Thu, 12 Mar 2009)
New Revision: 3997
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/TuxAPI.py
Log:
* added tuxdriver and tuxosl version in the getVersions() method
>>> tux.showVersions()
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/TuxAPI.py
===================================================================
---
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/TuxAPI.py
2009-03-12 12:57:59 UTC (rev 3996)
+++
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/TuxAPI.py
2009-03-12 13:06:18 UTC (rev 3997)
@@ -111,8 +111,12 @@
@return: a dictionary.
"""
verDict = {}
- verDict["api"] = __version__
+ verDict["tuxapi"] = __version__
verDict["tuxdroidserver"] = self.server.getVersion()
+ ver = self.server._requestOne(ST_NAME_DRIVER_SYMB_VER)
+ verDict["tuxdriver"] = ver[ver.find("_") + 1:]
+ ver = self.server._requestOne(ST_NAME_OSL_SYMB_VER)
+ verDict["tuxosl"] = ver[ver.find("_") + 1:]
return verDict
#
--------------------------------------------------------------------------
------------------------------------------------------------------------------
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