Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant list cast
Browse files Browse the repository at this point in the history
pentschev committed Sep 16, 2024

Verified

This commit was signed with the committer’s verified signature.
pentschev Peter Andreas Entschev
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
@@ -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 "

0 comments on commit 11c637d

Please sign in to comment.