Skip to content

Commit

Permalink
Remove reference to deleted table
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Apr 14, 2015
1 parent 7d72bdd commit 07544b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/tests/legacy/__init__.py
Expand Up @@ -389,7 +389,7 @@ def prettify_role_dicts(cls, role_dicts, one_per_line=True):
for role_dict in role_dicts:
pretty_role = {}
for key, value in role_dict.items():
if key.endswith('_id') and value and key != 'user_object_role_id':
if key.endswith('_id') and value:
pretty_key = key[:key.find('_id')]
domain_object = get_domain_object(model, value)
pretty_value = domain_object.name
Expand Down

0 comments on commit 07544b6

Please sign in to comment.