[Zope3-checkins] CVS: Zope3/src/zope/app/publication -
browser.py:1.11
Jeremy Hylton
cvs-admin at zope.org
Mon Nov 3 16:38:29 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/publication
In directory cvs.zope.org:/tmp/cvs-serv3612/app/publication
Modified Files:
browser.py
Log Message:
Remove unused local variables.
=== Zope3/src/zope/app/publication/browser.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/publication/browser.py:1.10 Sun Sep 21 13:32:36 2003
+++ Zope3/src/zope/app/publication/browser.py Mon Nov 3 16:37:58 2003
@@ -46,9 +46,6 @@
"""Web browser publication handling."""
def getDefaultTraversal(self, request, ob):
-
- r = ()
-
if IBrowserPublisher.isImplementedBy(removeAllProxies(ob)):
# ob is already proxied, so the result of calling a method will be
return ob.browserDefault(request)
@@ -60,7 +57,7 @@
return ob, path
else:
# ob is already proxied
- return (ob, None)
+ return ob, None
def afterCall(self, request):
super(BrowserPublication, self).afterCall(request)
More information about the Zope3-Checkins
mailing list