revert local changes
This commit is contained in:
parent
93840ac7b8
commit
350c631745
@ -30,8 +30,7 @@ class PermissionSets(object):
|
||||
try:
|
||||
role = db.session.query(PermissionSet).filter_by(name=perms_set_name).one()
|
||||
except NoResultFound:
|
||||
# raise NotFoundError("permission_set")
|
||||
pass
|
||||
raise NotFoundError("permission_set")
|
||||
|
||||
return role
|
||||
|
||||
@ -48,8 +47,7 @@ class PermissionSets(object):
|
||||
)
|
||||
|
||||
if len(permission_sets) != len(perms_set_names):
|
||||
# raise NotFoundError("permission_set")
|
||||
pass
|
||||
raise NotFoundError("permission_set")
|
||||
|
||||
return permission_sets
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user