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

[fix] #94 fix pylint alerts on examples folder

parent 22b50287
No related branches found
No related tags found
1 merge request!66Merge of check_tests_and_examples to dev
......@@ -53,8 +53,8 @@ try:
# check public key from file
print("Public key %s loaded from file %s" % (loaded_signer.pubkey, PRIVATE_KEY_FILE_PATH))
except Exception as e:
print(e)
except IOError as error:
print(error)
exit(1)
......
......@@ -50,8 +50,8 @@ try:
# check public key from file
print("Public key %s loaded from file %s" % (loaded_signer.pubkey, PRIVATE_KEY_FILE_PATH))
except Exception as e:
print(e)
except IOError as error:
print(error)
exit(1)
......
......@@ -50,8 +50,8 @@ try:
# check public key from file
print("Public key %s loaded from file %s" % (loaded_signer.pubkey, PRIVATE_KEY_FILE_PATH))
except Exception as e:
print(e)
except IOError as error:
print(error)
exit(1)
......
......@@ -131,7 +131,7 @@ async def main():
exit(1)
# get the revoke document
revocation_signed_raw_document = get_signed_raw_revocation_document(identity_document, salt, password)
revocation_signed_raw_document = get_signed_raw_revocation_document(identity, salt, password)
# save revoke document in a file
fp = open(REVOCATION_DOCUMENT_FILE_PATH, 'w')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment