Clean up log format to use lazy string substitution.
This commit is contained in:
parent
ccebba8f51
commit
03e1636ff2
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ def on_identity_loaded(sender, identity):
|
|||
repo_grant = _RepositoryNeed(token_data.repository.namespace_user.username,
|
||||
token_data.repository.name,
|
||||
token_data.role.name)
|
||||
logger.debug('Delegate token added permission: {0}'.format(repo_grant))
|
||||
logger.debug('Delegate token added permission: %s', repo_grant)
|
||||
identity.provides.add(repo_grant)
|
||||
|
||||
elif identity.auth_type == 'signed_grant':
|
||||
|
|
Reference in a new issue