[GRASS-SVN] r54374 - in grass/trunk/lib/python/pygrass: . gis raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 23 03:53:57 PST 2012
Author: zarch
Date: 2012-12-23 03:53:57 -0800 (Sun, 23 Dec 2012)
New Revision: 54374
Modified:
grass/trunk/lib/python/pygrass/functions.py
grass/trunk/lib/python/pygrass/gis/__init__.py
grass/trunk/lib/python/pygrass/raster/__init__.py
grass/trunk/lib/python/pygrass/raster/abstract.py
Log:
Fixing import path
Modified: grass/trunk/lib/python/pygrass/functions.py
===================================================================
--- grass/trunk/lib/python/pygrass/functions.py 2012-12-23 11:32:18 UTC (rev 54373)
+++ grass/trunk/lib/python/pygrass/functions.py 2012-12-23 11:53:57 UTC (rev 54374)
@@ -12,7 +12,7 @@
from grass.script import core as grasscore
from pygrass.errors import GrassError
-from pygrass.region import Region
+from pygrass.gis.region import Region
def looking(obj, filter_string):
Modified: grass/trunk/lib/python/pygrass/gis/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/gis/__init__.py 2012-12-23 11:32:18 UTC (rev 54373)
+++ grass/trunk/lib/python/pygrass/gis/__init__.py 2012-12-23 11:53:57 UTC (rev 54374)
@@ -20,8 +20,8 @@
script.gisenv()
import grass.lib.gis as libgis
-from grass.pygrass.functions import getenv
-from grass.pygrass.errors import GrassError
+from pygrass.functions import getenv
+from pygrass.errors import GrassError
#write dec to check if user have permissions or not
Modified: grass/trunk/lib/python/pygrass/raster/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/raster/__init__.py 2012-12-23 11:32:18 UTC (rev 54373)
+++ grass/trunk/lib/python/pygrass/raster/__init__.py 2012-12-23 11:53:57 UTC (rev 54374)
@@ -23,7 +23,7 @@
# import pygrass modules
#
from pygrass.errors import OpenError, must_be_open
-from pygrass.region import Region
+from pygrass.gis.region import Region
from pygrass import functions
#
Modified: grass/trunk/lib/python/pygrass/raster/abstract.py
===================================================================
--- grass/trunk/lib/python/pygrass/raster/abstract.py 2012-12-23 11:32:18 UTC (rev 54373)
+++ grass/trunk/lib/python/pygrass/raster/abstract.py 2012-12-23 11:53:57 UTC (rev 54374)
@@ -22,7 +22,7 @@
# import pygrass modules
#
from pygrass import functions
-from pygrass.region import Region
+from pygrass.gis.region import Region
from pygrass.errors import must_be_open
#
More information about the grass-commit
mailing list