Skip to content

Commit

Permalink
lint: satisfy linting
Browse files Browse the repository at this point in the history
  • Loading branch information
phbelitz committed Nov 4, 2022
1 parent d35e525 commit e6c6d45
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions connaisseur/validators/cosign/cosign_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,7 @@ def __get_cosign_validated_digests(self, image: str, trust_root: dict):
image=str(image),
trust_root=trust_root["name"],
)
elif (
"Error: no matching signatures:\nsearching log query:"
in stderr
):
elif "Error: no matching signatures:\nsearching log query:" in stderr:
msg = "Failed to find signature in transparency log."
raise ValidationError(
message=msg,
Expand Down

0 comments on commit e6c6d45

Please sign in to comment.