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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 29 07:10:55 PDT 2015


Author: zarch
Date: 2015-07-29 07:10:55 -0700 (Wed, 29 Jul 2015)
New Revision: 65792

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

Modified: grass/trunk/lib/python/script/raster.py
===================================================================
--- grass/trunk/lib/python/script/raster.py	2015-07-29 14:10:09 UTC (rev 65791)
+++ grass/trunk/lib/python/script/raster.py	2015-07-29 14:10:55 UTC (rev 65792)
@@ -17,15 +17,16 @@
 .. sectionauthor:: Glynn Clements
 .. sectionauthor:: Martin Landa <landa.martin gmail.com>
 """
+from __future__ import absolute_import
 
 import os
 import string
 import types
 import time
 
-from core import *
+from .core import *
 from grass.exceptions import CalledModuleError
-from utils import float_or_dms, parse_key_val
+from .utils import float_or_dms, parse_key_val
 
 
 def raster_history(map):



More information about the grass-commit mailing list