Skip to content

Commit 2b600cd

Browse files
committed
Merge #696: use warning instead of deprecated warn
b49c14e use warning instead of deprecated warn (fametrano) Pull request description: logging.warn has been deprecated since Python 3.3 and one should use logging.warning see also Blockstream/Jade#77 ACKs for top commit: achow101: ACK b49c14e Tree-SHA512: f766b1049be3808c6d3f94ac8b72975b84272297c62c8c2fd65bf4d7c3dad940190b275e053ff233a112779ad59aa7dc08d709711cb5a956c3396e87ea62b784
2 parents e77a339 + b49c14e commit 2b600cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hwilib/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def enumerate(password: Optional[str] = None, expert: bool = False, chain: Chain
118118
except ImportError as e:
119119
# Warn for ImportErrors, but largely ignore them to allow users not install
120120
# all device dependencies if only one or some devices are wanted.
121-
logging.warn(f"{e}, required for {module}. Ignore if you do not want this device.")
121+
logging.warning(f"{e}, required for {module}. Ignore if you do not want this device.")
122122
pass
123123
return result
124124

0 commit comments

Comments
 (0)