[GRASS-SVN] r47757 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 18 12:52:43 EDT 2011


Author: martinl
Date: 2011-08-18 09:52:42 -0700 (Thu, 18 Aug 2011)
New Revision: 47757

Modified:
   grass/trunk/gui/wxpython/gui_modules/ghelp.py
Log:
wxGUI: sort contributors by name


Modified: grass/trunk/gui/wxpython/gui_modules/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/ghelp.py	2011-08-18 16:33:23 UTC (rev 47756)
+++ grass/trunk/gui/wxpython/gui_modules/ghelp.py	2011-08-18 16:52:42 UTC (rev 47757)
@@ -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