Module: check_mk
Branch: master
Commit: d210739c08bf4020858538574bc32b8d7b95092f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d210739c08bf40…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Jan 24 15:26:44 2014 +0100
add intialization of g_git_messages to page_automation
---
web/htdocs/wato.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 0bcddd7..b5226ec 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8678,6 +8678,9 @@ def page_automation():
if secret != get_login_secret():
raise MKAuthException(_("Invalid automation secret."))
+ global g_git_messages
+ g_git_messages = []
+
# To prevent mixups in written files we use the same lock here as for
# the normal WATO page processing. This might not be needed for some
# special automation requests, like inventory e.g., but to keep it simple,