Skip to content

Commit

Permalink
nit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
l77h committed Jul 3, 2024
1 parent a1c6358 commit d09ed60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions securesystemslib/signer/_gpg_signer.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,7 @@ def sign(self, payload: bytes) -> Signature:
"""
try:
raw_sig = gpg.create_signature(
payload, self.public_key.keyid, self.homedir
)
raw_sig = gpg.create_signature(payload, self.public_key.keyid, self.homedir)
except gpg_exceptions.KeyNotFoundError as e:
raise ValueError(e) from e

Expand Down

0 comments on commit d09ed60

Please sign in to comment.