Skip to content

Commit

Permalink
Merge pull request #107 from BumbleFeng/fix
Browse files Browse the repository at this point in the history
allow compare image with None
  • Loading branch information
BumbleFeng committed Feb 22, 2024
2 parents af45426 + 6c54e3f commit e641128
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.1
2.5.2
2 changes: 2 additions & 0 deletions sretoolbox/container/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,8 @@ def __contains__(self, item):
return item in self.tags

def __eq__(self, other):
if not isinstance(other, Image):
return False
try:
manifest = self.manifest
other_manifest = other.manifest
Expand Down

0 comments on commit e641128

Please sign in to comment.