Skip to content
Snippets Groups Projects
Commit 334e4ede authored by Vincent Texier's avatar Vincent Texier
Browse files

[enh] #91 fix pylint alerts in documents.certification module

parent 0fb416dd
Branches
Tags
1 merge request!60Pylint
...@@ -173,7 +173,7 @@ CertTimestamp: {timestamp} ...@@ -173,7 +173,7 @@ CertTimestamp: {timestamp}
self.signatures = [] self.signatures = []
for key in keys: for key in keys:
signing = base64.b64encode(key.signature(bytes(self.raw(), 'ascii'))) signing = base64.b64encode(key.signature(bytes(self.raw(), 'ascii')))
logging.debug("Signature : \n{0}".format(signing.decode("ascii"))) logging.debug("Signature : \n%s", signing.decode("ascii"))
self.signatures.append(signing.decode("ascii")) self.signatures.append(signing.decode("ascii"))
def signed_raw(self) -> str: def signed_raw(self) -> str:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment