mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
raise instance, not class
This commit is contained in:
parent
29d2e32cb0
commit
2c5cbbb095
@ -132,7 +132,7 @@ def verify_signature(public_key, alleged_signature, data):
|
||||
hashes.SHA256(),
|
||||
)
|
||||
except InvalidSignature:
|
||||
raise BadSignature
|
||||
raise BadSignature()
|
||||
|
||||
|
||||
def _validate_public_key(public_key):
|
||||
|
Loading…
Reference in New Issue
Block a user