Remove unused imports in soc.views.sitemap modules.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Fri, 03 Apr 2009 17:21:26 +0000
changeset 2069 08b13ca90666
parent 2068 f5e8fbbd3bea
child 2070 9555be8634a3
Remove unused imports in soc.views.sitemap modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
app/soc/views/sitemap/sidebar.py
--- a/app/soc/views/sitemap/sidebar.py	Fri Apr 03 17:19:46 2009 +0000
+++ b/app/soc/views/sitemap/sidebar.py	Fri Apr 03 17:21:26 2009 +0000
@@ -22,10 +22,7 @@
   ]
 
 
-import operator
-
 from soc.views import out_of_band
-from soc.views.helper import access
 
 import soc.cache.sidebar
 
@@ -40,7 +37,6 @@
 
   The callback should return a list of menu's when called.
   """
-
   global SIDEBAR
   SIDEBAR.append(callback)
 
@@ -137,7 +133,7 @@
 
   submenus = []
 
-  args = SIDEBAR_ACCESS_ARGS
+  # args = SIDEBAR_ACCESS_ARGS
   kwargs = SIDEBAR_ACCESS_KWARGS
 
   # reset and pre-fill the Checker's cache