Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Dec 19, 2023
1 parent c119c43 commit d619363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/update-latest-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_connected_hw_devices(plugins):
name, plugin = splugin.name, splugin.plugin
if not plugin:
e = splugin.exception
print_stderr(f"{name}: error during plugin init: {repr(e)}")
print(f"{name}: error during plugin init: {repr(e)}", file=sys.stderr)
continue
try:
u = devmgr.unpaired_device_infos(None, plugin)
Expand All @@ -89,7 +89,7 @@ def get_passwd_for_hw_device_encrypted_storage(plugins):
try:
xpub = plugin.get_xpub(device_info.device.id_, derivation,
'standard', plugin.handler)
except UserCancelled:
except UserCancelled: # noqa: F821
sys.exit(0)
password = keystore.Xpub.get_pubkey_from_xpub(xpub, ())
return password
Expand Down

0 comments on commit d619363

Please sign in to comment.