Module: check_mk
Branch: master
Commit: afa13485d256da944ab65ca11953f9f3c7606f7c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=afa13485d256da…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Jun 6 14:04:39 2013 +0200
notify.py: fixed crash when reporting notifications
---
modules/notify.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/notify.py b/modules/notify.py
index b6da7d6..8d5f9fc 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -359,6 +359,7 @@ def notify_get_context():
in os.environ.items()
if var.startswith("NOTIFY_")
and not re.match('^\$[A-Z]+\$$', value)])
+ return context
def notify_notify():