[GRASS-SVN] r67898 - grass/trunk/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 20 02:37:00 PST 2016


Author: martinl
Date: 2016-02-20 02:37:00 -0800 (Sat, 20 Feb 2016)
New Revision: 67898

Modified:
   grass/trunk/lib/python/script/utils.py
Log:
get_lib_path(): fix g.extension logic when libname is defined

Modified: grass/trunk/lib/python/script/utils.py
===================================================================
--- grass/trunk/lib/python/script/utils.py	2016-02-20 10:12:52 UTC (rev 67897)
+++ grass/trunk/lib/python/script/utils.py	2016-02-20 10:37:00 UTC (rev 67898)
@@ -289,8 +289,6 @@
         if idx < 0:
             return None
         path = cwd[:idx+len(modname)] + sep + 'etc' + sep + modname
-        if libname:
-            path = join(path, libname)
     
     return path
 



More information about the grass-commit mailing list