Changeset 6134 for main/waeup.sirp
- Timestamp:
- 18 May 2011, 21:09:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/app.py
r6129 r6134 129 129 """Lookup all plugins and call their `update()` method. 130 130 """ 131 from zope.event import notify 132 from zope.lifecycleevent import ObjectAddedEvent 133 #notify(ObjectAddedEvent(self)) 134 from zope.component import getGlobalSiteManager 135 from grok.meta import IndexesSetupSubscriber 136 gsm = getGlobalsiteManager() 137 handlers = [x for x in gsm.registeredHandlers() 138 if isinstance(x.handler, IndexesSetupSubscriber)] 139 import pdb; pdb.set_trace() 131 140 for name, plugin in getUtilitiesFor(IWAeUPSIRPPluggable): 132 141 plugin.update(self, name, self.logger)
Note: See TracChangeset for help on using the changeset viewer.