remove irrelevant parenthesis

In _format_entity() there is a dictionary wrapped in
parenthesis to allow it to continue on next line when in
fact it is not needed.

Change-Id: Id4c1f12eb8bd5e7aacc4f99d3f5a21c2f7e370a9
This commit is contained in:
Tom Cocozzello 2016-01-04 14:36:57 -06:00
parent 7b62b36960
commit 3109e1e451
1 changed files with 2 additions and 2 deletions

View File

@ -514,8 +514,8 @@ class RoleAssignmentV3(controller.V3Controller):
inherited_assignment = entity.get('inherited_to_projects')
if 'project_id' in entity:
formatted_entity['scope'] = (
{'project': {'id': entity['project_id']}})
formatted_entity['scope'] = {
'project': {'id': entity['project_id']}}
if 'domain_id' in entity.get('indirect', {}):
inherited_assignment = True