Skip to content

Commit

Permalink
PushItem improve __eq__
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rc1e committed Jul 22, 2024
1 parent 890d7af commit 141b785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/gftools/push/trafficjam.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def __hash__(self) -> int:
return hash(self.path)

def __eq__(self, other):
return self.path == other.path
return (self.path, self.url) == (other.path, other.url)

def exists(self) -> bool:
from gftools.push.utils import google_path_to_repo_path
Expand Down

0 comments on commit 141b785

Please sign in to comment.