Fix string injection for InvalidScope
The string injection in the error message for InvalidScope was missing a leading `%`. Change-Id: Id69a8c9eaa76d3783dd5919e1aa0aa26a36a24a1
This commit is contained in:
parent
5f473195b2
commit
888fa23ebe
|
@ -306,7 +306,7 @@ class InvalidScope(Exception):
|
|||
|
||||
def __init__(self, rule, operation_scopes, token_scope):
|
||||
msg = (
|
||||
"(rule)s requires a scope of %(operation_scopes)s, request "
|
||||
"%(rule)s requires a scope of %(operation_scopes)s, request "
|
||||
"was made with %(token_scope)s scope." % {
|
||||
'rule': rule,
|
||||
'operation_scopes': operation_scopes,
|
||||
|
|
Loading…
Reference in New Issue