Fixed typos

```
$ git grep 'emptu' | awk -F: '{print $1}' | xargs -I {} sed -ie 's/emptu/empty/' {}; echo $?
0
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
This commit is contained in:
Ariel Otilibili 2024-10-04 20:19:28 +02:00
parent 7ab8a39846
commit 3ede32a359
9 changed files with 9 additions and 9 deletions

View File

@ -165,7 +165,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
name_max_width = max_width - 13
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret

View File

@ -132,7 +132,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
name_max_width = max_width - 7
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret

View File

@ -276,7 +276,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
name_max_width = max_width - 13
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret

View File

@ -99,7 +99,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
name_max_width = max_width - 7
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret

View File

@ -236,7 +236,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
name_max_width = max_width - 12
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret

View File

@ -179,7 +179,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
name_max_width = max_width - 7
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret

View File

@ -269,7 +269,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
name_max_width = max_width - 12
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret

View File

@ -170,7 +170,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
name_max_width = max_width - 6
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret

View File

@ -179,7 +179,7 @@ class PluginModel(GlancesPluginModel):
if max_width:
if_name_max_width = max_width - 5
else:
# No max_width defined, return an emptu curse message
# No max_width defined, return an empty curse message
logger.debug(f"No max_width defined for the {self.plugin_name} plugin, it will not be displayed.")
return ret