[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser -
globalbrowsermenuservice.py:1.23
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Aug 16 12:33:11 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv1528/publisher/browser
Modified Files:
globalbrowsermenuservice.py
Log Message:
Fixed the two test failures reported in the nightly tests for Python2.2.
=== Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py 1.22 => 1.23 ===
--- Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py:1.22 Fri Aug 15 20:43:46 2003
+++ Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py Sat Aug 16 11:32:37 2003
@@ -15,6 +15,8 @@
$Id$
"""
+__metaclass__ = type
+
from zope.interface import classProvides
from zope.exceptions import DuplicationError, Unauthorized, Forbidden
@@ -34,7 +36,7 @@
from zope.app.pagetemplate.engine import Engine
from zope.app.publication.browser import PublicationTraverser
-class Menu(object):
+class Menu:
"""Browser menu"""
implements(IBrowserMenu)
@@ -57,7 +59,7 @@
return results
-class BaseBrowserMenuService(object):
+class BaseBrowserMenuService:
"""Global Browser Menu Service"""
implements(IBrowserMenuService)
More information about the Zope3-Checkins
mailing list