Skip to content

Commit

Permalink
fix: disable email object for python <3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Mar 26, 2018
1 parent 8ebb963 commit ecf9bd5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pymisp/tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

from .vtreportobject import VTReportObject # noqa
from .neo4j import Neo4j # noqa
from .fileobject import FileObject # noqa
Expand All @@ -9,5 +11,7 @@
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

0 comments on commit ecf9bd5

Please sign in to comment.