[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser - viewmeta.py:1.9

Ulrich Eck ueck@net-labs.de
Sun, 2 Feb 2003 18:23:03 -0500


Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv25032

Modified Files:
	viewmeta.py 
Log Message:
last checking broke adding components TTW:
  * Module zope.publisher.publish, line 132, in publish
  * Module zope.app.publication.zopepublication, line 157, in callObject
  * Module zope.publisher.publish, line 113, in mapply
      __traceback_info__: <bound method +.action of 
      <zope.app.publisher.browser.viewmeta.+ object at 0x89ebf2c>>
  * Module zope.app.browser.services.service, line 46, in action

TypeError super(type, obj): obj must be an instance or subtype of type 

Reverted change, removed Baseclass ContextWrapper from class simple


=== Zope3/src/zope/app/publisher/browser/viewmeta.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/publisher/browser/viewmeta.py:1.8	Fri Jan 31 05:46:16 2003
+++ Zope3/src/zope/app/publisher/browser/viewmeta.py	Sun Feb  2 18:22:59 2003
@@ -41,7 +41,8 @@
 
 from zope.app.security.permission import checkPermission
 
-from zope.proxy.context import ContextMethod, ContextAware
+# from zope.proxy.context import ContextMethod, ContextAware
+from zope.proxy.context import ContextMethod
 
 from zope.app.publisher.browser.globalbrowsermenuservice \
      import menuItemDirective
@@ -455,8 +456,8 @@
 
     return for_
 
-class simple(ContextAware, BrowserView):
-
+# class simple(ContextAware, BrowserView):
+class simple(BrowserView):
     __implements__ = IBrowserPublisher, BrowserView.__implements__
 
     def publishTraverse(self, request, name):