Module: check_mk
Branch: master
Commit: d531ea0e641f4a3db3a2696e89f611706f9f06cd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d531ea0e641f4a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 13 14:59:48 2012 +0100
Adding whole tag list to inherited tags
---
web/htdocs/wato.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index b5c085a..d404ede 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3875,7 +3875,7 @@ def configure_attributes(hosts, for_what, parent, myself=None,
without_attribute
inherited_value = container["attributes"][attrname]
has_inherited = True
if topic == _("Host tags"):
- inherited_tags["attr_%s" % attrname] = inherited_value
+ inherited_tags["attr_%s" % attrname] =
attr.get_tag_list(inherited_value)
break
container = container.get(".parent")
@@ -3886,7 +3886,7 @@ def configure_attributes(hosts, for_what, parent, myself=None,
without_attribute
inherited_value = attr.default_value()
# Also add the default values to the inherited values dict
if topic == _("Host tags"):
- inherited_tags["attr_%s" % attrname] = inherited_value
+ inherited_tags["attr_%s" % attrname] =
attr.get_tag_list(inherited_value)
# Legend and Help
html.write('<tr id="attr_%s"><td class=legend>'
% attrname)