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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 29 07:04:38 PDT 2015


Author: zarch
Date: 2015-07-29 07:04:38 -0700 (Wed, 29 Jul 2015)
New Revision: 65786

Modified:
   grass/trunk/lib/python/script/__init__.py
Log:
scipt:init add python3 support

Modified: grass/trunk/lib/python/script/__init__.py
===================================================================
--- grass/trunk/lib/python/script/__init__.py	2015-07-28 16:09:23 UTC (rev 65785)
+++ grass/trunk/lib/python/script/__init__.py	2015-07-29 14:04:38 UTC (rev 65786)
@@ -1,9 +1,10 @@
 """Python interface to launch GRASS GIS modules in scripts
 """
+from __future__ import absolute_import
 
-from core   import *
-from db     import *
-from raster import *
-from raster3d import *
-from vector import *
-from utils import *
+from .core   import *
+from .db     import *
+from .raster import *
+from .raster3d import *
+from .vector import *
+from .utils import *



More information about the grass-commit mailing list