Changeset 6134 for main/waeup.sirp


Ignore:
Timestamp:
18 May 2011, 21:09:54 (13 years ago)
Author:
uli
Message:

Remove trailing whitespaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/app.py

    r6129 r6134  
    129129        """Lookup all plugins and call their `update()` method.
    130130        """
     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()
    131140        for name, plugin in getUtilitiesFor(IWAeUPSIRPPluggable):
    132141            plugin.update(self, name, self.logger)
Note: See TracChangeset for help on using the changeset viewer.