Skip to content

Commit

Permalink
[2632] Fix for missing list item with remove
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed Jul 12, 2012
1 parent b41b57c commit d305621
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/config/environment.py
Expand Up @@ -42,7 +42,8 @@ def __init__(self, helpers, restrict=True):
if restrict:
continue
functions[helper] = getattr(helpers, helper)
allowed.remove(helper)
if helper in allowed:
allowed.remove(helper)
self.functions = functions

if allowed:
Expand Down

0 comments on commit d305621

Please sign in to comment.