Browse Source

scipt:raster add python3 support

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65792 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli 9 years ago
parent
commit
0f03d17934
1 changed files with 3 additions and 2 deletions
  1. 3 2
      lib/python/script/raster.py

+ 3 - 2
lib/python/script/raster.py

@@ -17,15 +17,16 @@ for details.
 .. 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):