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 authored and amercader committed Jan 8, 2014
1 parent 47a8d38 commit 8622d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -1706,7 +1706,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 8622d17

Please sign in to comment.