fix: disable email object for python <3.6

pull/210/head
Raphaël Vinot 2018-03-26 13:42:55 +02:00
parent 8ebb963adf
commit ecf9bd549f
1 changed files with 5 additions and 1 deletions

View File

@ -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