Module: check_mk
Branch: master
Commit: 8a64375361b0029548ef81f897ea383d766940e8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8a64375361b002…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Dec 15 10:31:48 2016 +0100
Fix pylint error because of invalid cmk.debug call
Change-Id: I988b50d0143aa4c82bbee025e7a68975c50b9635
---
modules/notify.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/notify.py b/modules/notify.py
index abc0cf6..c35b0e3 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -810,7 +810,7 @@ def rbn_groups_contacts(groups):
return []
except Exception, e:
- if cmk.config.debug:
+ if cmk.debug.enabled():
raise
return []