Changeset 5071 for main/waeup.sirp/trunk/src
- Timestamp:
- 23 Mar 2010, 14:33:56 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/app.py
r5054 r5071 7 7 # BBB 8 8 from zope.app.security.interfaces import IAuthentication 9 from zope.component import createObject, get AllUtilitiesRegisteredFor9 from zope.component import createObject, getUtilitiesFor 10 10 try: 11 11 from zope.pluggableauth import PluggableAuthentication … … 57 57 """Create instances of all plugins defined somewhere. 58 58 """ 59 plugins = getAllUtilitiesRegisteredFor(IWAeUPSIRPPluggable)60 for plugin in plugins:61 self[plugin.name] = createObject(plugin.factory_name)59 for name, plugin in getUtilitiesFor(IWAeUPSIRPPluggable): 60 plugin.setup(self, name, self.logger) 61 return 62 62 63 63 def _setupLogger(self, logger):
Note: See TracChangeset for help on using the changeset viewer.