Module: check_mk
Branch: master
Commit: b9cc5772ccd8218cecb0acb3d4854148ea1b22dd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b9cc5772ccd821…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 22 08:05:54 2017 +0100
Fixed ValueError exception when configuring virtual host trees
Change-Id: I886b46ffd0217d7eec5b49714c92827fb932bdda
---
web/plugins/wato/check_mk_configuration.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 169c209..37bc340 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -358,7 +358,7 @@ def wato_host_tag_group_choices():
# Now search for checkbox-only-topics
for topic, entries in by_topic.items():
for entry in entries:
- tgid, title, tags = entry
+ tgid, title, tags = entry[:3]
if len(tags) != 1:
break
else: