From e32bd6bdc79c1cc899a0d8d1486f90b1e9b10e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 14 Jul 2015 16:52:40 +0200 Subject: [PATCH] function_exec: fixed copy and paste error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- tuned/profiles/functions/function_exec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuned/profiles/functions/function_exec.py b/tuned/profiles/functions/function_exec.py index 9d81971..21447db 100644 --- a/tuned/profiles/functions/function_exec.py +++ b/tuned/profiles/functions/function_exec.py @@ -3,13 +3,13 @@ import tuned.logs import base from tuned.utils.commands import commands -class s2kb(base.Function): +class execute(base.Function): """ Conversion function: sectors to kbytes """ def __init__(self): # unlimited number of arguments, min 1 argument (the name of executable) - super(self.__class__, self).__init__("s2kb", 0, 1) + super(self.__class__, self).__init__("exec", 0, 1) def execute(self, args): if not super(self.__class__, self).execute(args):