Module: check_mk
Branch: master
Commit: 1d0d6cd5286027ff5876b5e539b7c7d2353be030
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1d0d6cd5286027…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Sep 8 11:07:11 2011 +0200
WATO: fix problem in import function
---
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 32b4de4..16ba1e4 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -1270,7 +1270,7 @@ def create_target_file_from_aliaspath(aliaspath):
# Now folder points to the folder the host needs to be created
# in. In that folder we put the host into the host list "hosts.mk".
- if "hosts" not in folder[".files"]:
+ if "hosts.mk" not in folder[".files"]:
new_file = {
".name" : "hosts.mk",
".path" : folder[".path"] + ("hosts.mk",),