[GRASS-SVN] r65290 - grass/trunk/lib/python/pygrass/modules/interface

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 20 01:31:44 PDT 2015


Author: zarch
Date: 2015-05-20 01:31:44 -0700 (Wed, 20 May 2015)
New Revision: 65290

Modified:
   grass/trunk/lib/python/pygrass/modules/interface/module.py
Log:
pygrass: Change import

Modified: grass/trunk/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/interface/module.py	2015-05-20 08:12:13 UTC (rev 65289)
+++ grass/trunk/lib/python/pygrass/modules/interface/module.py	2015-05-20 08:31:44 UTC (rev 65290)
@@ -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