From 1178384a524f4f957ee5729ff04127772226cd85 Mon Sep 17 00:00:00 2001 From: Ayub khan Date: Thu, 26 Sep 2019 12:28:23 +0500 Subject: [PATCH] BOM-608 python3 compatibility --- common/lib/capa/capa/inputtypes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/lib/capa/capa/inputtypes.py b/common/lib/capa/capa/inputtypes.py index 1f3bba51dc..35b48a32b1 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): """