Skip to content

Commit 598f70d

Browse files
committed
Removed a comment
1 parent 9656e43 commit 598f70d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

monai/utils/module.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,7 @@ def version_leq(lhs: str, rhs: str) -> bool:
572572
if has_ver:
573573
try:
574574
return cast(bool, version(lhs) <= version(rhs))
575-
# return cast(bool, pkging.version.Version(lhs) <= pkging.version.Version(rhs))
576575
except version.InvalidVersion:
577-
# except pkging.version.InvalidVersion:
578576
return True
579577

580578
lhs_, rhs_ = parse_version_strs(lhs, rhs)
@@ -601,9 +599,7 @@ def version_geq(lhs: str, rhs: str) -> bool:
601599
if has_ver:
602600
try:
603601
return cast(bool, version(lhs) >= version(rhs))
604-
# return cast(bool, pkging.version.Version(lhs) >= pkging.version.Version(rhs))
605602
except version.InvalidVersion:
606-
# except pkging.version.InvalidVersion:
607603
return True
608604

609605
lhs_, rhs_ = parse_version_strs(lhs, rhs)

0 commit comments

Comments
 (0)