trezor: rename kwarg to 'label'

This commit is contained in:
Roman Zeyde
2015-08-17 17:36:25 +03:00
parent 0e28873e0a
commit b7a1dd61ea
2 changed files with 5 additions and 4 deletions

View File

@@ -123,7 +123,8 @@ def trezor_verify():
args = p.parse_args()
setup_logging(verbosity=args.verbose)
hostname = subprocess.check_output('hostname')
host = subprocess.check_output('hostname')
label = '{}'.format(host)
with trezor.Client() as client:
return client.sign_identity(identity=hostname,
return client.sign_identity(label=label,
expected_address=args.address)