浏览代码

scipt:raster3d add python3 support

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65793 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli 9 年之前
父节点
当前提交
4c6c52dda7
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      lib/python/script/raster3d.py

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

@@ -18,11 +18,12 @@ for details.
 .. sectionauthor:: Martin Landa <landa.martin gmail.com>
 .. sectionauthor:: Soeren Gebbert <soeren.gebbert gmail.com>
 """
+from __future__ import absolute_import
 
 import string
 
-from core import *
-from utils import float_or_dms, parse_key_val
+from .core import *
+from .utils import float_or_dms, parse_key_val
 from grass.exceptions import CalledModuleError