1
0
Fork 0

function_exec: fixed copy and paste error

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2015-07-14 16:52:40 +02:00
parent c3bc34c24a
commit e32bd6bdc7

View file

@ -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):