From 03e1636ff2ff6509f82c42739cb3c1cd524423a7 Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Mon, 22 Jun 2015 17:40:04 -0400 Subject: [PATCH] Clean up log format to use lazy string substitution. --- auth/permissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/permissions.py b/auth/permissions.py index bdc460786..e53dd6fe8 100644 --- a/auth/permissions.py +++ b/auth/permissions.py @@ -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':