fix: Properly fix deprecation warning

fix #390
pull/393/head
Raphaël Vinot 2019-05-08 10:12:35 +02:00
parent e8bba395bc
commit de65608a12
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import sys
import datetime import datetime
import json import json
from json import JSONEncoder from json import JSONEncoder
import collections
import logging import logging
from enum import Enum from enum import Enum
@ -82,7 +81,7 @@ class MISPEncode(JSONEncoder):
return JSONEncoder.default(self, obj) return JSONEncoder.default(self, obj)
class AbstractMISP(collections.MutableMapping): class AbstractMISP(MutableMapping):
__not_jsonable = [] __not_jsonable = []