diff --git a/common/lib/capa/capa/inputtypes.py b/common/lib/capa/capa/inputtypes.py index e8fdc225aff156b6383de9e5cda4e26fd1598b87..8c0b998ffaf7d817f692dda1d952f80131454cbd 100644 --- a/common/lib/capa/capa/inputtypes.py +++ b/common/lib/capa/capa/inputtypes.py @@ -127,6 +127,9 @@ class Status(object): def __eq__(self, other): return self._status == str(other) + def __hash__(self): + return hash(str(self)) + class Attribute(object): """