Changeset 6138 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 18 May 2011, 22:29:47 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/app.py
r6137 r6138 130 130 """Lookup all plugins and call their `update()` method. 131 131 """ 132 name = getattr(self, '__name__', '<Unnamed>') 133 self.logger.info('Fire upgrade event for site %s' % name) 134 grok.notify(ObjectUpgradeEvent(self)) 135 self.logger.info('Done.') 136 self.logger.info('Now upgrading any plugins.') 132 137 for name, plugin in getUtilitiesFor(IWAeUPSIRPPluggable): 133 138 plugin.update(self, name, self.logger) 139 self.logger.info('Plugin update finished.') 134 140 return 135 141 -
main/waeup.sirp/trunk/src/waeup/sirp/configure.zcml
r3521 r6138 2 2 xmlns:grok="http://namespaces.zope.org/grok"> 3 3 <include package="grok" /> 4 <include package="waeup.sirp" file="meta.zcml" /> 4 5 <includeDependencies package="." /> 5 6 <grok:grok package="." />
Note: See TracChangeset for help on using the changeset viewer.