File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments