Module: check_mk
Branch: master
Commit: ab46583e2dfe2cc56cdc8591c9d46b3f9b5adf08
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ab46583e2dfe2c…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Mon Sep 3 10:23:52 2018 +0200
Fix pylint warnings
Change-Id: I1d4511d509e2fcbb44f2cce0ee6591bb4b65e3f0
---
checks/enviromux.include | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks/enviromux.include b/checks/enviromux.include
index 59d6fe4..e7e5a38 100644
--- a/checks/enviromux.include
+++ b/checks/enviromux.include
@@ -364,7 +364,7 @@ def enviromux_sems_scan_function(oid):
def check_enviromux_temperature(item, params, parsed):
dev_levels_lower = (parsed[item]['sensor_min'],
parsed[item]['sensor_min'])
dev_levels = (parsed[item]['sensor_max'],
parsed[item]['sensor_max'])
- return (check_temperature(parsed[item]['sensor_value'], params, item,
dev_levels_lower=dev_levels_lower, dev_levels=dev_levels))
+ return check_temperature(parsed[item]['sensor_value'], params, item,
dev_levels_lower=dev_levels_lower, dev_levels=dev_levels)
def check_enviromux_voltage(item, params, parsed):
sensor_value = parsed[item]['sensor_value']
@@ -393,7 +393,7 @@ def check_enviromux_voltage(item, params, parsed):
state = 0
if state:
infotext += levelstext
- return (state, infotext, perf)
+ return state, infotext, perf
def check_enviromux_humidity(item, params, parsed):
- return (check_humidity(parsed[item]['sensor_value'], params))
+ return check_humidity(parsed[item]['sensor_value'], params)