[GRASS-SVN] r47758 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 18 12:53:44 EDT 2011


Author: martinl
Date: 2011-08-18 09:53:44 -0700 (Thu, 18 Aug 2011)
New Revision: 47758

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py
Log:
wxGUI: sort contributors by name
       (merge r47757 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py	2011-08-18 16:52:42 UTC (rev 47757)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py	2011-08-18 16:53:44 UTC (rev 47758)
@@ -705,7 +705,7 @@
             for item in (_('Name'), _('E-mail'), _('Country'), _('OSGeo_ID')):
                 contribBox.Add(item = wx.StaticText(parent = contribwin, id = wx.ID_ANY,
                                                     label = item))
-            for vals in contribs:
+            for vals in sorted(contribs, key = lambda x: x[0]):
                 for item in vals:
                     contribBox.Add(item = wx.StaticText(parent = contribwin, id = wx.ID_ANY,
                                                         label = item))



More information about the grass-commit mailing list