[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser - viewmeta.py:1.8
Ulrich Eck
ueck@net-labs.de
Mon, 3 Feb 2003 00:19:44 +0100
This change breaks component Adding with the following error:
TypeError: super(type, obj): obj must be an instance or subtype of type
i'll revert the change to make it work again.
Ulrich Eck=20
Am Freitag, 31. Januar 2003 11:46 schrieb Albertas Agejevas:
> Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
> In directory cvs.zope.org:/tmp/cvs-serv30168/src/zope/app/publisher/brows=
er
>
> Modified Files:
> viewmeta.py
> Log Message:
> Added context propagation to some generated classes.
>
>
> =3D=3D=3D Zope3/src/zope/app/publisher/browser/viewmeta.py 1.7 =3D> 1.8 =
=3D=3D=3D
> --- Zope3/src/zope/app/publisher/browser/viewmeta.py:1.7 Tue Dec 31
> 15:15:52 2002 +++ Zope3/src/zope/app/publisher/browser/viewmeta.py Fri Jan
> 31 05:46:16 2003 @@ -41,7 +41,7 @@
>
> from zope.app.security.permission import checkPermission
>
> -from zope.proxy.context import ContextMethod
> +from zope.proxy.context import ContextMethod, ContextAware
>
> from zope.app.publisher.browser.globalbrowsermenuservice \
> import menuItemDirective
> @@ -455,7 +455,7 @@
>
> return for_
>
> -class simple(BrowserView):
> +class simple(ContextAware, BrowserView):
>
> __implements__ =3D IBrowserPublisher, BrowserView.__implements__
>
>
>
> _______________________________________________
> Zope3-Checkins mailing list
> Zope3-Checkins@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-checkins