Skip to content

Commit

Permalink
coriolisclient.base.py: Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristi1324 committed Jun 5, 2024
1 parent ee177c0 commit aa80769
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions coriolisclient/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ def get(self):
def __eq__(self, other):
if not isinstance(other, Resource):
return NotImplemented
# two resources of different types are not equal
if not isinstance(other, self.__class__):
return False
return self._info == other._info

def is_loaded(self):
Expand Down

0 comments on commit aa80769

Please sign in to comment.