[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py
Converted XXX to TODO.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:46:24 EDT 2004
Log message for revision 26335:
Converted XXX to TODO.
Removed XXX.
-=-
Modified: Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py 2004-07-09 15:46:22 UTC (rev 26334)
+++ Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py 2004-07-09 15:46:24 UTC (rev 26335)
@@ -36,7 +36,7 @@
from zope.app.servicenames import BrowserMenu
-# XXX This was copied and trimmed down from zope.interface.
+# TODO: This was copied and trimmed down from zope.interface.
# Eventually, this will be eliminated when the browser menu
# service is changed to use adapters.
from zope.interface.interfaces import IInterface
@@ -190,7 +190,7 @@
try:
v = traverser.traverseRelativeURL(
request, object, path)
- # XXX
+ # TODO:
# tickle the security proxy's checker
# we're assuming that view pages are callable
# this is a pretty sound assumption
@@ -243,8 +243,6 @@
_clear = __init__
def menu(self, menu_id, title, description=u''):
- # XXX we have nothing to do with the title and description. ;)
-
s = zapi.getGlobalService(zapi.servicenames.Presentation)
if menu_id in self._registry:
raise DuplicationError("Menu %s is already defined." % menu_id)
More information about the Zope3-Checkins
mailing list