Module: check_mk
Branch: master
Commit: 2ec83a1af0984ebb75b8a5ec15f695a60c1d8943
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2ec83a1af0984e…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Jan 11 07:57:11 2019 +0100
Make pylint happy.
Change-Id: I8d3b86b17c153f10801904afdf91be9497d8756e
---
doc/helpers/df_magic_number.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/helpers/df_magic_number.py b/doc/helpers/df_magic_number.py
index 763f8cc..efd8a8f 100755
--- a/doc/helpers/df_magic_number.py
+++ b/doc/helpers/df_magic_number.py
@@ -31,7 +31,7 @@ if len(sys.argv) > 1:
normsize = float(sys.argv[1])
-def print_levels(exp):
+def print_levels(level, exp):
sys.stdout.write("f=%3.1f: " % exp)
for size in [5, 10, 20, 50, 100, 300, 800]:
hgb_size = size / normsize
@@ -46,6 +46,6 @@ def print_levels(exp):
for level in [.80, .85, .90, .95]:
sys.stdout.write("Level for %.0f GB Normpartition: %d%%\n" % (normsize,
int(level * 100)))
for exp in [1.0, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2]:
- print_levels(exp)
+ print_levels(level, exp)
sys.stdout.write("-" * 80)
sys.stdout.write("\n")