Skip to content

Commit 247b3f2

Browse files
committed
review
1 parent 24a6bc2 commit 247b3f2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

redisgraph/execution_plan.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ def __eq__(self, o: object) -> bool:
2929
if not isinstance(o, Operation):
3030
return False
3131

32-
if self.name != o.name or self.args != o.args:
33-
return False
34-
35-
return True
32+
return (self.name == o.name and self.args == o.args)
3633

3734
def __str__(self) -> str:
3835
args_str = "" if self.args is None else f" | {self.args}"

0 commit comments

Comments
 (0)