From 2d0d36e5785b69030d7333880c0fc4811f2f2a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 17 Jul 2019 17:12:28 +0200 Subject: [PATCH] chg: Improve deprecation message on PyMISP --- pymisp/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/api.py b/pymisp/api.py index e898882..bc5a004 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -75,7 +75,7 @@ class PyMISP(object): # pragma: no cover warning_2020() - @deprecated(reason="Please use ExpandedPyMISP instead (requires Python 3.6+). This class will be removed an alias of ExpandedPyMISP early 2020.") + @deprecated(reason="Please use ExpandedPyMISP instead (requires Python 3.6+). This class will be an alias of ExpandedPyMISP early 2020 and your code will most probably fail.") def __init__(self, url, key, ssl=True, out_type='json', debug=None, proxies=None, cert=None, asynch=False, auth=None, tool=None): if not url: raise NoURL('Please provide the URL of your MISP instance.')