diff --git a/.pylintrc b/.pylintrc index c42bc1d..e0e154b 100644 --- a/.pylintrc +++ b/.pylintrc @@ -8,4 +8,3 @@ disable=fixme, duplicate-code, keyword-arg-before-vararg, no-member, - too-many-nested-blocks, diff --git a/src/wuttaweb/menus.py b/src/wuttaweb/menus.py index 10e9a97..8e04296 100644 --- a/src/wuttaweb/menus.py +++ b/src/wuttaweb/menus.py @@ -229,7 +229,7 @@ class MenuHandler(GenericHandler): # that somewhat to produce our final menus self._mark_allowed(request, raw_menus) final_menus = [] - for topitem in raw_menus: + for topitem in raw_menus: # pylint: disable=too-many-nested-blocks if topitem["allowed"]: @@ -323,7 +323,7 @@ class MenuHandler(GenericHandler): Traverse the menu set, and mark each item as "allowed" (or not) based on current user permissions. """ - for topitem in menus: + for topitem in menus: # pylint: disable=too-many-nested-blocks if topitem.get("type", "menu") == "link": topitem["allowed"] = True