From a50d5e023704558fab00f9066fd5152fe379ac2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 21 Mar 2017 09:45:06 +0100 Subject: [PATCH] assertion: fixed name shown in the log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previosly it incorrectly shows 'exec' instead of 'assertion' in the logs. Signed-off-by: Jaroslav Škarvada --- tuned/profiles/functions/function_assertion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuned/profiles/functions/function_assertion.py b/tuned/profiles/functions/function_assertion.py index 2638672..e8e5d07 100644 --- a/tuned/profiles/functions/function_assertion.py +++ b/tuned/profiles/functions/function_assertion.py @@ -14,7 +14,7 @@ class assertion(base.Function): """ def __init__(self): # 2 arguments - super(self.__class__, self).__init__("exec", 3) + super(self.__class__, self).__init__("assertion", 3) def execute(self, args): if not super(self.__class__, self).execute(args):