mirror of
https://github.com/romanz/amodem.git
synced 2026-03-24 19:31:02 +08:00
Fix a few pycodestyle & pystyle issues
This commit is contained in:
@@ -289,7 +289,7 @@ class OnlyKey(interface.Device):
|
||||
|
||||
log.info('received= %s', repr(result))
|
||||
return bytes(result)
|
||||
raise Exception('failed to sign challenge')
|
||||
raise interface.Error('failed to sign challenge')
|
||||
|
||||
def ecdh(self, identity, pubkey):
|
||||
"""Get shared session key using Elliptic Curve Diffie-Hellman."""
|
||||
|
||||
Reference in New Issue
Block a user