From: Thierry Parmentelat Date: Fri, 24 Feb 2012 10:34:22 +0000 (+0100) Subject: fixed error format X-Git-Tag: plcapi-5.1-1~18 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=07fc16415f6c9f1a8e9668f1dd442109bfe9cd15 fixed error format --- diff --git a/PLC/Auth.py b/PLC/Auth.py index c370da9..3be444b 100644 --- a/PLC/Auth.py +++ b/PLC/Auth.py @@ -86,7 +86,7 @@ class GPGAuth(Auth): gpg_keys = [ key['key'] for key in keys ] if not gpg_keys: - raise PLCAuthenticationFailure, "GPGAuth: No GPG key on record for peer or user '%s'" + raise PLCAuthenticationFailure, "GPGAuth: No GPG key on record for peer or user '%s'"%auth['name'] for gpg_key in gpg_keys: try: