Module: check_mk
Branch: master
Commit: 8711e6f3a38ad6c914021ad83e47a971be48c83c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8711e6f3a38ad6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Sep 24 13:59:40 2018 +0200
Fixed pylint issues
Change-Id: I0dafef37ec79497be1be37d26df82ae61bbe9e21
---
cmk_base/checking.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/cmk_base/checking.py b/cmk_base/checking.py
index e0925ff..c630362 100644
--- a/cmk_base/checking.py
+++ b/cmk_base/checking.py
@@ -39,7 +39,6 @@ import cmk.cpu_tracking as cpu_tracking
from cmk.exceptions import MKGeneralException
from cmk.regex import regex
-import cmk_base.core as core
import cmk_base.utils
import cmk_base.crash_reporting
import cmk_base.console as console
@@ -299,7 +298,7 @@ def execute_check(multi_host_sections, hostname, ipaddress,
check_plugin_name, i
item_state.reset_wrapped_counters()
raw_result = check_function(item, determine_check_params(params),
section_content)
- result = sanitize_check_result(raw_result,
checks.is_snmp_check(check_plugin_name))
+ result = sanitize_check_result(raw_result,
cmk_base.check_utils.is_snmp_check(check_plugin_name))
item_state.raise_counter_wrap()
except item_state.MKCounterWrapped, e:
@@ -378,7 +377,7 @@ def _evaluate_timespecific_entry(entry):
combined_entry = copy.copy(entry["tp_default_value"])
for timeperiod_name, tp_entry in entry["tp_values"][::-1]:
try:
- tp_active = core.timeperiod_active(timeperiod_name)
+ tp_active = cmk_base.core.timeperiod_active(timeperiod_name)
except:
# Connection error
if cmk.debug.enabled():