# HG changeset patch # User Pawel Solyga # Date 1238779286 0 # Node ID 08b13ca90666e7b343f368d7bfd1ef899daafa55 # Parent f5e8fbbd3bea97b177251176156744d96af2d548 Remove unused imports in soc.views.sitemap modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed diff -r f5e8fbbd3bea -r 08b13ca90666 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