mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-22 01:24:51 +02:00
Core: Fix Warnings from LGTM
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user