Module: check_mk
Branch: master
Commit: 01f24019b92bafce9e7fe8a8d914f54a99e5d3fd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=01f24019b92baf…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed May 2 14:42:32 2012 +0200
WATO: fix loading of host tags if hosttags.mk is missing
---
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 9478f56..4d8676f 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8718,7 +8718,7 @@ def mode_edit_hosttag(phase):
def load_hosttags():
filename = multisite_dir + "hosttags.mk"
if not os.path.exists(filename):
- return []
+ return [], []
try:
vars = {
"wato_host_tags" : [],