浏览代码

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 年之前
父节点
当前提交
95e13a6292
共有 1 个文件被更改,包括 0 次插入5 次删除
  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):