[Zope3-checkins] CVS: Zope3/src/zope/app/component -
metaconfigure.py:1.40
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Apr 15 09:25:16 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv9686/src/zope/app/component
Modified Files:
metaconfigure.py
Log Message:
Make sure presentation component registrations get the parser info.
=== Zope3/src/zope/app/component/metaconfigure.py 1.39 => 1.40 ===
--- Zope3/src/zope/app/component/metaconfigure.py:1.39 Wed Apr 7 17:38:14 2004
+++ Zope3/src/zope/app/component/metaconfigure.py Thu Apr 15 09:25:03 2004
@@ -319,7 +319,7 @@
discriminator = ('view', for_, name, type, layer, provides),
callable = checkingHandler,
args = (permission, Presentation, 'provideAdapter',
- type, factory, name, for_, provides, layer),
+ type, factory, name, for_, provides, layer, _context.info),
)
_context.action(
discriminator = None,
@@ -423,7 +423,7 @@
_context.action(
discriminator = ('layer', name),
callable = handler,
- args = (Presentation, 'defineLayer', name)
+ args = (Presentation, 'defineLayer', name, _context.info)
)
def skin(_context, name, layers):
@@ -433,12 +433,12 @@
_context.action(
discriminator = ('skin', name),
callable = handler,
- args = (Presentation, 'defineSkin', name, layers)
+ args = (Presentation, 'defineSkin', name, layers, _context.info)
)
def defaultSkin(_context, name):
_context.action(
discriminator = 'defaultSkin',
callable = handler,
- args = (Presentation, 'setDefaultSkin', name)
+ args = (Presentation, 'setDefaultSkin', name, _context.info)
)
More information about the Zope3-Checkins
mailing list