[Checkins] SVN: Products.GenericSetup/trunk/ Profiles are sorted on Upgrade form.

Thomas Desvenain cvs-admin at zope.org
Mon Oct 15 21:55:55 UTC 2012


Log message for revision 128019:
  Profiles are sorted on Upgrade form.

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/tool.py
  U   Products.GenericSetup/trunk/docs/CHANGES.rst

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tool.py	2012-10-15 21:48:59 UTC (rev 128018)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tool.py	2012-10-15 21:55:52 UTC (rev 128019)
@@ -840,7 +840,9 @@
 
     security.declareProtected(ManagePortal, 'listProfilesWithUpgrades')
     def listProfilesWithUpgrades(self):
-        return listProfilesWithUpgrades()
+        profiles = listProfilesWithUpgrades()
+        profiles.sort()
+        return profiles
 
     security.declarePrivate('_massageUpgradeInfo')
     def _massageUpgradeInfo(self, info):

Modified: Products.GenericSetup/trunk/docs/CHANGES.rst
===================================================================
--- Products.GenericSetup/trunk/docs/CHANGES.rst	2012-10-15 21:48:59 UTC (rev 128018)
+++ Products.GenericSetup/trunk/docs/CHANGES.rst	2012-10-15 21:55:52 UTC (rev 128019)
@@ -4,6 +4,8 @@
 1.7.3 (unreleased)
 ------------------
 
+- Profiles are sorted on Upgrade form.
+
 - Use clickable labels with checkboxes on import, export and upgrade forms
   to improve usability.
 



More information about the checkins mailing list