[GRASS-SVN] r65373 - grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 4 22:31:15 PDT 2015


Author: zarch
Date: 2015-06-04 22:31:15 -0700 (Thu, 04 Jun 2015)
New Revision: 65373

Modified:
   grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py
Log:
pygrass: backport r65290, Change import

Modified: grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py	2015-06-05 05:29:32 UTC (rev 65372)
+++ grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py	2015-06-05 05:31:15 UTC (rev 65373)
@@ -3,7 +3,6 @@
                         with_statement, print_function, unicode_literals)
 import sys
 from multiprocessing import cpu_count
-from functools import wraps
 
 if sys.version_info[0] == 2:
     from itertools import izip_longest as zip_longest
@@ -12,14 +11,13 @@
 from xml.etree.ElementTree import fromstring
 import time
 
-from grass.exceptions import CalledModuleError
+from grass.exceptions import CalledModuleError, GrassError, ParameterError
 from grass.script.core import Popen, PIPE
-from grass.exceptions import GrassError, ParameterError
-from grass.pygrass.modules.interface.docstring import docstring_property
-from grass.pygrass.modules.interface.parameter import Parameter
-from grass.pygrass.modules.interface.flag import Flag
-from grass.pygrass.modules.interface.typedict import TypeDict
-from grass.pygrass.modules.interface.read import GETFROMTAG, DOC
+from .docstring import docstring_property
+from .parameter import Parameter
+from .flag import Flag
+from .typedict import TypeDict
+from .read import GETFROMTAG, DOC
 from grass.pygrass.messages import get_msgr
 
 



More information about the grass-commit mailing list