Skip to content

Commit

Permalink
Remove redundant list cast
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Sep 16, 2024
1 parent 26192c9 commit 11c637d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ucp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _is_mig_device(handle):
__ucx_min_version__ = "1.15.0"
__ucx_version__ = "%d.%d.%d" % get_ucx_version()

if get_ucx_version() < tuple([int(i) for i in __ucx_min_version__.split(".")]):
if get_ucx_version() < tuple(int(i) for i in __ucx_min_version__.split(".")):
raise ImportError(
f"Support for UCX {__ucx_version__} has ended. Please upgrade to "
f"{__ucx_min_version__} or newer. If you believe the wrong version "
Expand Down

0 comments on commit 11c637d

Please sign in to comment.