diff options
Diffstat (limited to 'keystone/trust/controllers.py')
-rw-r--r-- | keystone/trust/controllers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/trust/controllers.py b/keystone/trust/controllers.py index 01ebc176..1d7dce6c 100644 --- a/keystone/trust/controllers.py +++ b/keystone/trust/controllers.py @@ -64,7 +64,7 @@ class TrustV3(controller.V3Controller): (trust['expires_at'], subsecond=True)) - if not 'roles' in trust: + if 'roles' not in trust: trust['roles'] = [] trust_full_roles = [] for trust_role in trust['roles']: |