[Zope3-checkins] CVS: Zope3/src/zope/app/browser - menu.py:1.4
Jeremy Hylton
jeremy@zope.com
Mon, 30 Jun 2003 18:44:43 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser
In directory cvs.zope.org:/tmp/cvs-serv15624/src/zope/app/browser
Modified Files:
menu.py
Log Message:
Remove unused local variables.
=== Zope3/src/zope/app/browser/menu.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/menu.py:1.3 Fri Jun 6 17:35:15 2003
+++ Zope3/src/zope/app/browser/menu.py Mon Jun 30 18:44:13 2003
@@ -26,9 +26,7 @@
implements(IMenuAccessView)
def __getitem__(self, menu_id):
- context = self.context
- request = self.request
- browser_menu_service = getService(context, 'BrowserMenu')
+ browser_menu_service = getService(self.context, 'BrowserMenu')
return browser_menu_service.getMenu(menu_id,
self.context,
self.request)