Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
```
$ git grep 'emptu' | awk -F: '{print $1}' | xargs -I {} sed -ie 's/emptu/empty/' {}; echo $?
0
```

Signed-off-by: Ariel Otilibili <[email protected]>
  • Loading branch information
ariel-anieli committed Oct 4, 2024
1 parent 7ab8a39 commit 3ede32a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion glances/plugins/diskio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/folders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/fs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/irq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/ports/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/sensors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/smart/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/wifi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def msg_curse(self, args=None, max_width=None):
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

Expand Down

0 comments on commit 3ede32a

Please sign in to comment.