[GRASS-SVN] r37870 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jun 13 21:23:41 EDT 2009
Author: glynn
Date: 2009-06-13 21:23:41 -0400 (Sat, 13 Jun 2009)
New Revision: 37870
Modified:
grass/trunk/gui/wxpython/gui_modules/globalvar.py
Log:
Use os.pathsep instead of ":" for portability
Modified: grass/trunk/gui/wxpython/gui_modules/globalvar.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/globalvar.py 2009-06-14 01:22:01 UTC (rev 37869)
+++ grass/trunk/gui/wxpython/gui_modules/globalvar.py 2009-06-14 01:23:41 UTC (rev 37870)
@@ -123,7 +123,7 @@
if scripts is True:
list = list + os.listdir(os.path.join(gisbase, 'scripts'))
if gui_scripts is True:
- os.environ["PATH"] = os.getenv("PATH") + ':%s' % os.path.join(gisbase, 'etc', 'gui', 'scripts')
+ os.environ["PATH"] = os.getenv("PATH") + os.pathsep + os.path.join(gisbase, 'etc', 'gui', 'scripts')
list = list + os.listdir(os.path.join(gisbase, 'etc', 'gui', 'scripts'))
if subprocess.mswindows:
More information about the grass-commit
mailing list