Skip to content

Commit

Permalink
[#1425] Call logic.NotFound
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Babu committed Jan 8, 2014
1 parent 46752e5 commit a10adfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -1713,7 +1713,7 @@ def get_group(id):

try:
out = logic.get_action(get_action)(context, data_dict)
except logic.ObjectNotFound:
except logic.NotFound:
return None
return out

Expand Down

0 comments on commit a10adfd

Please sign in to comment.