[GRASS-SVN] r50580 - grass/trunk/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 31 04:32:28 EST 2012


Author: glynn
Date: 2012-01-31 01:32:28 -0800 (Tue, 31 Jan 2012)
New Revision: 50580

Modified:
   grass/trunk/lib/python/core.py
Log:
Revert r49565


Modified: grass/trunk/lib/python/core.py
===================================================================
--- grass/trunk/lib/python/core.py	2012-01-31 02:32:47 UTC (rev 50579)
+++ grass/trunk/lib/python/core.py	2012-01-31 09:32:28 UTC (rev 50580)
@@ -164,10 +164,8 @@
 	    popts[opt] = val
 	else:
 	    options[opt] = val
+
     args = make_command(prog, flags, overwrite, quiet, verbose, **options)
-    if sys.platform == 'win32' and os.path.splitext(prog)[1] == '.py':
-        os.chdir(os.path.join(os.getenv('GISBASE'), 'scripts'))
-        args.insert(0, sys.executable)
     
     global debug_level
     if debug_level > 0:



More information about the grass-commit mailing list