Module: check_mk
Branch: master
Commit: 4fba09a605a8a13a06e0f8e9895991788a85f2fe
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4fba09a605a8a1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 31 12:07:05 2012 +0100
Fixed invalid python code generated by wato contactgroup management
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 4405224..6e9e7ee 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -636,7 +636,7 @@ def save_hosts(folder = None):
if use and cgs:
out.write("\nhost_contactgroups += [\n")
for cg in cgs:
- out.write(' ( %r, [%r] )\n' % (cg, hostname))
+ out.write(' ( %r, [%r] ),\n' % (cg, hostname))
out.write(']\n\n')
for attr, topic in host_attributes: