function_exec: fixed copy and paste error
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
c3bc34c24a
commit
e32bd6bdc7
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue