[GRASS-SVN] r57556 - grass/trunk/lib/python/pygrass/modules/grid

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 30 02:49:39 PDT 2013


Author: zarch
Date: 2013-08-30 02:49:39 -0700 (Fri, 30 Aug 2013)
New Revision: 57556

Modified:
   grass/trunk/lib/python/pygrass/modules/grid/grid.py
Log:
Fix warning: Parameter unpacking ha been removed in python3.x

Modified: grass/trunk/lib/python/pygrass/modules/grid/grid.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/grid/grid.py	2013-08-30 09:39:38 UTC (rev 57555)
+++ grass/trunk/lib/python/pygrass/modules/grid/grid.py	2013-08-30 09:49:39 UTC (rev 57556)
@@ -121,8 +121,9 @@
     return cmd
 
 
-def cmd_exe((bbox, mapnames, msetname, cmd)):
+def cmd_exe(args):
     """Create a mapset, and execute a cmd inside."""
+    bbox, mapnames, msetname, cmd = args
     mset = Mapset()
     try:
         make_mapset(msetname)



More information about the grass-commit mailing list