mirror of https://github.com/MISP/PyMISP
fix: disable email object for python <3.6
parent
8ebb963adf
commit
ecf9bd549f
|
@ -1,3 +1,5 @@
|
|||
import sys
|
||||
|
||||
from .vtreportobject import VTReportObject # noqa
|
||||
from .neo4j import Neo4j # noqa
|
||||
from .fileobject import FileObject # noqa
|
||||
|
@ -9,5 +11,7 @@ from .abstractgenerator import AbstractMISPObjectGenerator # noqa
|
|||
from .genericgenerator import GenericObjectGenerator # noqa
|
||||
from .openioc import load_openioc, load_openioc_file # noqa
|
||||
from .sbsignatureobject import SBSignatureObject # noqa
|
||||
from .emailobject import EMailObject # noqa
|
||||
from .fail2banobject import Fail2BanObject # noqa
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
from .emailobject import EMailObject # noqa
|
||||
|
|
Loading…
Reference in New Issue