mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-02 22:58:52 +02:00
PDB: Fix issue #374
This commit is contained in:
@@ -438,7 +438,7 @@ class Enumeration(interfaces.objects.ObjectInterface, int):
|
||||
self._vol['base_type'] = base_type
|
||||
|
||||
def __eq__(self, other):
|
||||
return super(self) == super(other) and self.choices == other.choices
|
||||
return super().__eq__(other) and isinstance(other, Enumeration) and self.choices == other.choices
|
||||
|
||||
@classmethod
|
||||
def _generate_inverse_choices(cls, choices: Dict[str, int]) -> Dict[int, str]:
|
||||
|
||||
Reference in New Issue
Block a user