Core: Fix Warnings from LGTM

This commit is contained in:
Mike Auty
2020-11-04 21:02:36 +00:00
parent ae3a97e2c7
commit 7c75018fc4
11 changed files with 38 additions and 23 deletions
@@ -46,6 +46,9 @@ class ReadOnlyMapping(collections.abc.Mapping):
"""Returns the length of the internal dictionary."""
return len(self._dict)
def __eq__(self, other):
return dict(self) == dict(other)
class ObjectInformation(ReadOnlyMapping):
"""Contains common information useful/pertinent only to an individual