[GRASS-dev] r67535: pygrass: change dirname in set_path()

Martin Landa landa.martin at gmail.com
Tue Jan 12 10:11:14 PST 2016


Hi,

2016-01-11 12:16 GMT+01:00 Pietro <peter.zamb at gmail.com>:
> Of course dirname must be checked before the default path, other wise it is
> too late...

hm, what means `dirname`? I got impression that it's used for

$GRASS_ADDON_BASE/etc/r.mymodule

is find by set_path('r.mymodule')

$GRASS_ADDON_BASE/etc/r.mymodule/lib1

is find by set_path('r.mymodule', 'lib1'). From this logic I don't
understand why dirname must be set. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list