mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 10:28:36 +00:00
Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible with python3.
This commit is contained in:
parent
73f885e382
commit
7063330e03
17 changed files with 102 additions and 103 deletions
|
@ -91,7 +91,7 @@ def parse():
|
|||
|
||||
# Get the current bytes
|
||||
if input_lines[pos].endswith("is mounted with:"):
|
||||
bytes_count_text = input_lines[pos+5].split()[1].split("=")[1].replace(",", "")
|
||||
bytes_count_text = input_lines[pos + 5].split()[1].split("=")[1].replace(",", "")
|
||||
try:
|
||||
bytes_count = long(bytes_count_text)
|
||||
except NameError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue