From de65608a12c7c3a95a8fc17692fb9d7f49b3d328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 8 May 2019 10:12:35 +0200 Subject: [PATCH] fix: Properly fix deprecation warning fix #390 --- pymisp/abstract.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pymisp/abstract.py b/pymisp/abstract.py index f7c163e..f8cdf7d 100644 --- a/pymisp/abstract.py +++ b/pymisp/abstract.py @@ -5,7 +5,6 @@ import sys import datetime import json from json import JSONEncoder -import collections import logging from enum import Enum @@ -82,7 +81,7 @@ class MISPEncode(JSONEncoder): return JSONEncoder.default(self, obj) -class AbstractMISP(collections.MutableMapping): +class AbstractMISP(MutableMapping): __not_jsonable = []