Clean up log format to use lazy string substitution.

This commit is contained in:
Jake Moshenko 2015-06-22 17:40:04 -04:00
parent ccebba8f51
commit 03e1636ff2

View file

@ -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':