[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/ Merged r100331 from branch 1.4
Vincent Fretin
vincent.fretin at gmail.com
Sun May 24 08:20:04 EDT 2009
Log message for revision 100332:
Merged r100331 from branch 1.4
Changed:
U Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt
U Products.GenericSetup/trunk/Products/GenericSetup/tool.py
-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt 2009-05-24 12:08:17 UTC (rev 100331)
+++ Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt 2009-05-24 12:20:04 UTC (rev 100332)
@@ -104,9 +104,16 @@
each import. https://bugs.launchpad.net/zope-cmf/+bug/213905
-GenericSetup 1.4.4
-------------------
+GenericSetup 1.4.5 (unreleased)
+-------------------------------
+- Added a for_=None parameter to tool.py:listProfileInfo to have the same
+ signature as registry.py:listProfileInfo, so profiles can be filtered by interfaces.
+
+
+GenericSetup 1.4.4 (2009-05-15)
+-------------------------------
+
- Ensure that the browser doesn't hang after creating a snapshot.
(https://bugs.launchpad.net/zope-cmf/+bug/161730)
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2009-05-24 12:08:17 UTC (rev 100331)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2009-05-24 12:20:04 UTC (rev 100332)
@@ -624,7 +624,7 @@
return result
security.declareProtected(ManagePortal, 'listProfileInfo')
- def listProfileInfo(self):
+ def listProfileInfo(self, for_=None):
""" Return a list of mappings describing registered profiles.
Base profile is listed first, extensions are sorted.
@@ -642,7 +642,7 @@
"""
base = []
ext = []
- for info in _profile_registry.listProfileInfo():
+ for info in _profile_registry.listProfileInfo(for_):
if info.get('type', BASE) == BASE:
base.append(info)
else:
More information about the Checkins
mailing list