From e5a69c2bae7e28e1360b658dc54b1560c038d990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 8 Jun 2015 14:31:11 +0200 Subject: [PATCH] functions: renamed built-in function cpus_online to cpulist_online MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renamed to stay consistent. Signed-off-by: Jaroslav Škarvada --- .../{function_cpus_online.py => function_cpulist_online.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tuned/profiles/functions/{function_cpus_online.py => function_cpulist_online.py} (85%) diff --git a/tuned/profiles/functions/function_cpus_online.py b/tuned/profiles/functions/function_cpulist_online.py similarity index 85% rename from tuned/profiles/functions/function_cpus_online.py rename to tuned/profiles/functions/function_cpulist_online.py index 925695e..116af30 100644 --- a/tuned/profiles/functions/function_cpus_online.py +++ b/tuned/profiles/functions/function_cpulist_online.py @@ -5,14 +5,14 @@ from tuned.utils.commands import commands log = tuned.logs.get() -class cpus_online(base.Function): +class cpulist_online(base.Function): """ Checks whether CPUs from list are online, returns list containing only online CPUs """ def __init__(self): # arbitrary number of arguments - super(self.__class__, self).__init__("cpus_online", 0) + super(self.__class__, self).__init__("cpulist_online", 0) def execute(self, args): if not super(self.__class__, self).execute(args):