[Checkins]
SVN: grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py
Sort the info objects for the registrations.
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Sun May 4 06:26:41 EDT 2008
Log message for revision 86327:
Sort the info objects for the registrations.
Changed:
U grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py
-=-
Modified: grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py
===================================================================
--- grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py 2008-05-04 10:26:00 UTC (rev 86326)
+++ grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py 2008-05-04 10:26:40 UTC (rev 86327)
@@ -440,8 +440,10 @@
"the site (%r) is not a container." %
factory, factory)
- # store infos on site class
- factory.__grok_utilities_to_install__ = infos
+ # Store the list of info objects in their "natural" order on the
+ # site class. They will be picked up by a subscriber doing the
+ # actual registrations in definition order.
+ factory.__grok_utilities_to_install__ = sorted(infos)
adapts = (factory, grok.IObjectAddedEvent)
config.action(
More information about the Checkins
mailing list