Author: remi
Date: 2009-07-03 13:33:35 +0200 (Fri, 03 Jul 2009)
New Revision: 5027
Modified:
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
Log:
* Updated the way to retrieve os name
Modified:
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
===================================================================
---
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
2009-07-03 11:04:22 UTC (rev 5026)
+++
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
2009-07-03 11:33:35 UTC (rev 5027)
@@ -243,7 +243,7 @@
if self.configuration().getCheckMemParam():
- if not self.isWindows():
+ if os.name != "nt":
#linux system.
memory = sutils.getLinuxMemoryUsage()
if not notif :
------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn