From 81fdebd313fe3c6f8200865970817d35b2fb1abb Mon Sep 17 00:00:00 2001 From: liuzhilin Date: Mon, 28 Aug 2023 10:23:04 +0800 Subject: [PATCH] fix error --- tuned-gui.py | 2 +- tuned/gtk/gui_plugin_loader.py | 2 +- tuned/profiles/functions/functions.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tuned-gui.py b/tuned-gui.py index 9a3b4c5..da591e7 100755 --- a/tuned-gui.py +++ b/tuned-gui.py @@ -695,7 +695,7 @@ class Base(object): def execute_switch_tuned(self, switch, data): """ - Suported switch_tuned_start_stop and switch_tuned_startup_start_stop. + Supported switch_tuned_start_stop and switch_tuned_startup_start_stop. """ if switch == self._gobj('switchTunedStartStop'): diff --git a/tuned/gtk/gui_plugin_loader.py b/tuned/gtk/gui_plugin_loader.py index b455c40..507750b 100644 --- a/tuned/gtk/gui_plugin_loader.py +++ b/tuned/gtk/gui_plugin_loader.py @@ -40,7 +40,7 @@ __all__ = ['GuiPluginLoader'] class GuiPluginLoader(): ''' - Class for scan, import and load actual avaible plugins. + Class for scan, import and load actual variable plugins. ''' def __init__(self): diff --git a/tuned/profiles/functions/functions.py b/tuned/profiles/functions/functions.py index a537843..c70e252 100644 --- a/tuned/profiles/functions/functions.py +++ b/tuned/profiles/functions/functions.py @@ -80,7 +80,7 @@ class Functions(): self._esc = False self._cnt += 1 if len(self._stack): - log.error("invalid varialbe syntax, non pair '{' in: '%s'" % s) + log.error("invalid variable syntax, non pair '{' in: '%s'" % s) return self._str def expand(self, s):