From: Thierry Parmentelat Date: Tue, 6 Sep 2011 14:04:36 +0000 (+0200) Subject: bugfix X-Git-Tag: sfa-1.0-36~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=dd5eefeda68add21940017446ffc19f4f5b64f00;p=sfa.git bugfix --- diff --git a/sfa/trust/certificate.py b/sfa/trust/certificate.py index c4d64348..91fcb7c6 100644 --- a/sfa/trust/certificate.py +++ b/sfa/trust/certificate.py @@ -715,7 +715,7 @@ class Certificate: # if there is no parent, then no way to verify the chain if not self.parent: - logger.debug("verify_chain: NO %s has no parent and issuer %s is not in %d trusted roots"%self.get_printable_subject(), self.get_issuer(), len(trusted_certs)) + logger.debug("verify_chain: NO %s has no parent and issuer %s is not in %d trusted roots"%(self.get_printable_subject(), self.get_issuer(), len(trusted_certs))) raise CertMissingParent(self.get_printable_subject(), "Non trusted issuer: %s out of %d trusted roots" % (self.get_issuer(), len(trusted_certs))) # if it wasn't signed by the parent...