[Zope3-checkins]
SVN: Zope3/branches/jim-adapter/src/zope/component/zcml.py
Use newer, non-deprecated registration API.
Philipp von Weitershausen
philikon at philikon.de
Wed Apr 12 11:20:19 EDT 2006
Log message for revision 66897:
Use newer, non-deprecated registration API.
Changed:
U Zope3/branches/jim-adapter/src/zope/component/zcml.py
-=-
Modified: Zope3/branches/jim-adapter/src/zope/component/zcml.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/component/zcml.py 2006-04-12 15:15:02 UTC (rev 66896)
+++ Zope3/branches/jim-adapter/src/zope/component/zcml.py 2006-04-12 15:20:19 UTC (rev 66897)
@@ -211,8 +211,8 @@
_context.action(
discriminator = ('adapter', for_, provides, name),
callable = handler,
- args = ('provideAdapter',
- for_, provides, name, factory, _context.info),
+ args = ('registerAdapter',
+ factory, for_, provides, name, _context.info),
)
_context.action(
discriminator = None,
More information about the Zope3-Checkins
mailing list