From 6e7369f2e4e25055121570637de31bcd23fb0cf4 Mon Sep 17 00:00:00 2001 From: Maurice Escher Date: Fri, 27 Nov 2020 13:04:20 +0100 Subject: [PATCH] fix E225 missing whitespace around operator Change-Id: I960379ceb435472cdc754b5f63243c70d552d9c3 --- keystone/models/revoke_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystone/models/revoke_model.py b/keystone/models/revoke_model.py index 684155960b..63425f1adc 100644 --- a/keystone/models/revoke_model.py +++ b/keystone/models/revoke_model.py @@ -170,7 +170,7 @@ def matches(event, token_values): # rest of the logic. # The token has two attributes that can match the domain_id. - if event.domain_id is not None and event.domain_id not in( + if event.domain_id is not None and event.domain_id not in ( token_values['identity_domain_id'], token_values['assignment_domain_id'],): return False