Author: jmorliaguet Date: Sun Oct 30 20:48:28 2005 New Revision: 28832 Modified: z3lab/cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py Log:
- fixed typo Modified: z3lab/cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py ============================================================================== --- z3lab/cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py (original) +++ z3lab/cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py Sun Oct 30 20:48:28 2005 @@ -47,11 +47,11 @@ self.title = title def __call__(self, info): + globals = info.globals + request = globals.request - request = info.request - - view = info.globals.view - template = info.globals.template + view = globals.view + template = globals.template if view is not None and template is not None: # Switch to the macroless skin before rendering the view @@ -61,6 +61,6 @@ else: macro_slot_editor = zapi.queryMultiAdapter( (self, request), name='macroSlotEditor') - markup = macro_slot_editor() + markup = macro_slot_editor(info) return markup -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins