From c2b4f1be2a30a2b249b479fab4d76d367c7e073d Mon Sep 17 00:00:00 2001 From: Marcin Usielski Date: Wed, 16 Oct 2024 11:14:13 +0000 Subject: [PATCH] warning --- moler/device/unixremote3.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/moler/device/unixremote3.py b/moler/device/unixremote3.py index e309888d7..51487b1a5 100644 --- a/moler/device/unixremote3.py +++ b/moler/device/unixremote3.py @@ -9,6 +9,8 @@ __copyright__ = "Copyright (C) 2024, Nokia" __email__ = "marcin.usielski@nokia.com" + +import logging from moler.device.proxy_pc import ProxyPc from moler.helpers import ( call_base_class_method_with_same_name, @@ -109,7 +111,7 @@ def __init__( initial_state=initial_state, lazy_cmds_events=lazy_cmds_events, ) - self._log(msg="Experimental device. Maybe deleted at any moment. Please don't use it in your scripts.") + self._log(level=logging.WARNING, msg="Experimental device. Maybe deleted at any moment. Please don't use it in your scripts.") def _prepare_sm_data(self, sm_params): self._prepare_dicts_for_sm(sm_params=sm_params)