Skip to content

Commit 1238b85

Browse files
committed
fix tests for python 2.7 and 3.5 - f strings not supported.
1 parent 8a15137 commit 1238b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oidc_provider/lib/endpoints/token.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ def validate_requested_scopes(self):
148148
if scope_requested in self.client.scope:
149149
token_scopes.append(scope_requested)
150150
else:
151-
logger.debug(f'[Token] The request scope {scope_requested} '
152-
f'is not supported by client {self.client.client_id}')
151+
logger.debug('[Token] The request scope %s is not supported by client %s',
152+
scope_requested, self.client.client_id)
153153
raise TokenError('invalid_scope')
154154
# if no scopes requested assign client's scopes
155155
else:

0 commit comments

Comments
 (0)