From aa80769f8ebb676000b4ca324bff3a77c5636b65 Mon Sep 17 00:00:00 2001 From: Cristian Matiut Date: Wed, 5 Jun 2024 15:09:50 +0300 Subject: [PATCH] `coriolisclient.base.py`: Remove duplicate code --- coriolisclient/base.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/coriolisclient/base.py b/coriolisclient/base.py index 22172ef..9604dd4 100644 --- a/coriolisclient/base.py +++ b/coriolisclient/base.py @@ -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):