Fix import on org sources listing

This commit is contained in:
amercader 2013-03-14 11:44:22 +00:00
parent cd6c1b56a8
commit 8cac0977aa
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class OrganizationController(GroupController):
try: try:
c.group_dict = self._action('group_show')(context, data_dict) c.group_dict = self._action('group_show')(context, data_dict)
c.group = context['group'] c.group = context['group']
except p.toolkit.NotFound: except p.toolkit.ObjectNotFound:
abort(404, p.toolkit._('Group not found')) abort(404, p.toolkit._('Group not found'))
except p.toolkit.NotAuthorized: except p.toolkit.NotAuthorized:
abort(401, p.toolkit._('Unauthorized to read group %s') % id) abort(401, p.toolkit._('Unauthorized to read group %s') % id)