mirror of https://github.com/MISP/PyMISP
fix: Do not throw a warning every time one import pymisp...
parent
1e4c9615fb
commit
c9d6d04702
|
@ -63,7 +63,10 @@ except ImportError as e:
|
||||||
|
|
||||||
|
|
||||||
class ExpandedPyMISP(PyMISP):
|
class ExpandedPyMISP(PyMISP):
|
||||||
warnings.warn('This class is deprecated, use PyMISP instead', FutureWarning)
|
|
||||||
|
def __init__(self, *args, **kwargs):
|
||||||
|
warnings.warn('This class is deprecated, use PyMISP instead', FutureWarning)
|
||||||
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['PyMISP', 'register_user', 'AbstractMISP', 'MISPTag',
|
__all__ = ['PyMISP', 'register_user', 'AbstractMISP', 'MISPTag',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pymisp"
|
name = "pymisp"
|
||||||
version = "2.4.184.1"
|
version = "2.4.184.2"
|
||||||
description = "Python API for MISP."
|
description = "Python API for MISP."
|
||||||
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
||||||
license = "BSD-2-Clause"
|
license = "BSD-2-Clause"
|
||||||
|
|
Loading…
Reference in New Issue