remove pgp retry mechanism
This commit is contained in:
parent
9b1ca0a2f1
commit
582a971b80
|
@ -41,9 +41,6 @@ def encrypt_file(data: BytesIO, fingerprint: str) -> str:
|
||||||
LOG.error("Force exit")
|
LOG.error("Force exit")
|
||||||
hard_exit()
|
hard_exit()
|
||||||
|
|
||||||
r = gpg.encrypt_file(data, fingerprint, always_trust=True)
|
|
||||||
if not r.ok:
|
|
||||||
LOG.error("Try encrypt again %s", fingerprint)
|
|
||||||
r = gpg.encrypt_file(data, fingerprint, always_trust=True)
|
r = gpg.encrypt_file(data, fingerprint, always_trust=True)
|
||||||
if not r.ok:
|
if not r.ok:
|
||||||
# save the content for debugging
|
# save the content for debugging
|
||||||
|
|
Loading…
Reference in New Issue