Skip to content

Commit

Permalink
clean up imports in action.update
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Feb 29, 2012
1 parent 430a0a9 commit c8a40b8
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 80 deletions.
3 changes: 2 additions & 1 deletion ckan/controllers/api.py
Expand Up @@ -210,7 +210,8 @@ def action(self, logic_function):
def _get_action_from_map(self, action_map, register, subregister):
# Helper function to get the action function specified in the action map

assert (register != 'package') # these should all have been redirected!
# TODO enable this test but we may break existing clients :(
# assert (register != 'package') # these should all have been redirected!

action = action_map.get((register, subregister))
if not action:
Expand Down

0 comments on commit c8a40b8

Please sign in to comment.