Skip to content

Commit bc79807

Browse files
committed
sonar
1 parent 83bf3b0 commit bc79807

File tree

1 file changed

+1
-1
lines changed
  • packages/aws-library/src/aws_library/ec2

1 file changed

+1
-1
lines changed

packages/aws-library/src/aws_library/ec2/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __ge__(self, other: "Resources") -> bool:
6161
k, a
6262
) # NOTE: get from other, default to "a" resources so that non-existing keys can be compared as equal
6363
if isinstance(a, int | float) and isinstance(b, int | float):
64-
if not (a >= b):
64+
if a < b:
6565
return False
6666
elif a != b:
6767
assert isinstance(a, str | None) # nosec

0 commit comments

Comments
 (0)