Skip to content

Commit

Permalink
Merge pull request #348 from jku/fix-signer-sign-signature
Browse files Browse the repository at this point in the history
signer: Add self to abstract method signature
  • Loading branch information
joshuagl authored Apr 9, 2021
2 parents f8afa82 + 2b8ed43 commit 2d33d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securesystemslib/signer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Signer:
__metaclass__ = abc.ABCMeta

@abc.abstractmethod
def sign(payload: bytes) -> "Signature":
def sign(self, payload: bytes) -> "Signature":
"""Signs a given payload by the key assigned to the Signer instance.
Arguments:
Expand Down

0 comments on commit 2d33d91

Please sign in to comment.