diff --git a/src/pds/registrysweepers/utils/productidentifiers/pdslidvid.py b/src/pds/registrysweepers/utils/productidentifiers/pdslidvid.py index 30c91c1..a637ca0 100644 --- a/src/pds/registrysweepers/utils/productidentifiers/pdslidvid.py +++ b/src/pds/registrysweepers/utils/productidentifiers/pdslidvid.py @@ -34,6 +34,9 @@ def __repr__(self): return f"PdsLidVid({str(self)})" def __eq__(self, other): + if not isinstance(other, PdsLidVid): + return False + return self.lid == other.lid and self.vid == other.vid def __lt__(self, other: PdsLidVid):