fixed error format
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 24 Feb 2012 10:34:22 +0000 (11:34 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 24 Feb 2012 10:34:22 +0000 (11:34 +0100)
PLC/Auth.py

index c370da9..3be444b 100644 (file)
@@ -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: