[GRASS-SVN] r34951 - in grass/branches/releasebranch_6_4: gui/wxpython/gui_modules lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 19 18:07:41 EST 2008


Author: martinl
Date: 2008-12-19 18:07:41 -0500 (Fri, 19 Dec 2008)
New Revision: 34951

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
   grass/branches/releasebranch_6_4/lib/python/grass.py
Log:
grass.py: list_grouped2() renamed to mlist_grouped()
         (merge from devbr6, r34950)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py	2008-12-19 23:06:25 UTC (rev 34950)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py	2008-12-19 23:07:41 UTC (rev 34951)
@@ -209,7 +209,7 @@
                 mapsets[i] = mapsets[0]
                 mapsets[0] = curr_mapset
 
-        filesdict = grass.list_grouped2(elementdict[element])
+        filesdict = grass.mlist_grouped(elementdict[element])
         
         for dir in mapsets:
             dir_node = self.AddItem('Mapset: '+dir)

Modified: grass/branches/releasebranch_6_4/lib/python/grass.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/grass.py	2008-12-19 23:06:25 UTC (rev 34950)
+++ grass/branches/releasebranch_6_4/lib/python/grass.py	2008-12-19 23:07:41 UTC (rev 34951)
@@ -296,7 +296,7 @@
             result[mapset].extend(line.split())
     return result
 
-def list_grouped2(type, pattern=None):
+def mlist_grouped(type, pattern=None):
     """Returns the output from running g.mlist, as a dictionary where the keys
     are mapset names and the values are lists of maps in that mapset. 
     """



More information about the grass-commit mailing list