From 419897aba01a142551f948edc14dc6ce8229f84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 17 Nov 2016 17:29:54 +0100 Subject: [PATCH] Bump recommended python3 version --- pymisp/api.py | 4 ++-- pymisp/mispevent.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pymisp/api.py b/pymisp/api.py index d05b4f8..93082b1 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -15,7 +15,7 @@ try: from urllib.parse import urljoin except ImportError: from urlparse import urljoin - warnings.warn("You're using python 2, it is strongly recommended to use python >=3.3") + warnings.warn("You're using python 2, it is strongly recommended to use python >=3.4") from io import BytesIO import zipfile @@ -33,7 +33,7 @@ from .mispevent import MISPEvent, MISPAttribute, EncodeUpdate # Least dirty way to support python 2 and 3 try: basestring - warnings.warn("You're using python 2, it is strongly recommended to use python >=3.3") + warnings.warn("You're using python 2, it is strongly recommended to use python >=3.4") except NameError: basestring = str diff --git a/pymisp/mispevent.py b/pymisp/mispevent.py index fe384d0..c6ad4bb 100644 --- a/pymisp/mispevent.py +++ b/pymisp/mispevent.py @@ -37,7 +37,7 @@ from .exceptions import PyMISPError, NewEventError, NewAttributeError try: basestring unicode - warnings.warn("You're using python 2, it is strongly recommended to use python >=3.3") + warnings.warn("You're using python 2, it is strongly recommended to use python >=3.4") except NameError: basestring = str unicode = str