diff --git a/insights/core/__init__.py b/insights/core/__init__.py index f6a616f647..22a1fe35ed 100644 --- a/insights/core/__init__.py +++ b/insights/core/__init__.py @@ -866,6 +866,9 @@ def has_fcoe_edd(line): strings or False). """ + def __init__(self, *args, **kwargs): + deprecated(Scannable, "Please use the :class:`insights.core.Parser` instead", "3.2.25") + super(Scannable, self).__init__(*args, **kwargs) @classmethod def _scan(cls, result_key, scanner): diff --git a/insights/parsers/engine_log.py b/insights/parsers/engine_log.py index bca9dba481..6218aa34c9 100644 --- a/insights/parsers/engine_log.py +++ b/insights/parsers/engine_log.py @@ -39,5 +39,5 @@ class EngineLog(LogFileOutput): Provide access to ovirt engine logs using the LogFileOutput parser class. """ def __init__(self, *args, **kwargs): - deprecated(EngineLog, "Import EngineLog from insights.parsers.ovirt_engine_log instead") + deprecated(EngineLog, "Import EngineLog from insights.parsers.ovirt_engine_log instead", "3.2.25") super(EngineLog, self).__init__(*args, **kwargs)