Browse Source

grass.py: remove PY from PATHEXT

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63160 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 years ago
parent
commit
95e13a6292
1 changed files with 0 additions and 5 deletions
  1. 0 5
      lib/init/grass.py

+ 0 - 5
lib/init/grass.py

@@ -423,11 +423,6 @@ def set_paths():
             os.environ['MANPATH'] = addons_man_path
             path_prepend(grass_man_path, 'MANPATH')
 
-    # Add .py (Python) to list of executable extensions to search for
-    # in MS-Windows PATH
-    if windows:
-        path_append('.PY', 'PATHEXT')
-
 
 def find_exe(pgm):
     for dir in os.getenv('PATH').split(os.pathsep):