[GRASS-SVN] r74394 - grass/trunk/lib/python/pygrass/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 18 00:25:30 PDT 2019


Author: mmetz
Date: 2019-04-18 00:25:30 -0700 (Thu, 18 Apr 2019)
New Revision: 74394

Modified:
   grass/trunk/lib/python/pygrass/gis/__init__.py
Log:
pygrass: use getenv from pygrass.utils, fixes r74383

Modified: grass/trunk/lib/python/pygrass/gis/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/gis/__init__.py	2019-04-17 21:15:23 UTC (rev 74393)
+++ grass/trunk/lib/python/pygrass/gis/__init__.py	2019-04-18 07:25:30 UTC (rev 74394)
@@ -12,7 +12,8 @@
 
 import grass.lib.gis as libgis
 from grass.pygrass.errors import GrassError
-from grass.script.utils import encode, decode, getenv
+from grass.script.utils import encode, decode
+from grass.pygrass.utils import getenv
 
 test_vector_name = "Gis_test_vector"
 test_raster_name = "Gis_test_raster"



More information about the grass-commit mailing list