1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

Fix spelling mistakes in comments and descriptions

Thanks, codespell!
This commit is contained in:
Lars Kruse 2020-03-26 02:12:57 +01:00
parent 561da1a3f1
commit 8713eb3722
162 changed files with 248 additions and 248 deletions

View file

@ -87,7 +87,7 @@ stats_output = subprocess.check_output([cmd, '-c', 'iostats', '-c', 'sysstats'],
universal_newlines=True).splitlines()
# Split the cmd output into key/value pairs
# Lines that can't be splitted into 2 individual elements by delimiter ':' will be skipped
# Lines that can't be split into 2 individual elements by delimiter ':' will be skipped
for line in stats_output:
if len(line.split(':')) == 2:
stats[line.split(':')[0]] = int(line.split(':')[1])