Module: check_mk
Branch: master
Commit: ff521803459a43409229e086b8aff7d42a6cf62f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ff521803459a43…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Jun 13 11:43:26 2013 +0200
fixed exception on MKGeneralException
---
modules/check_mk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index bf37b74..adfe554 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -940,7 +940,7 @@ def get_check_table(hostname):
elif type(hostlist[0]) == str:
hostlist = strip_tags(hostlist)
elif hostlist != []:
- raise MKGeneralException("Invalid entry '%r' in check table.
Must be single hostname or list of hostnames" % hostinfolist)
+ raise MKGeneralException("Invalid entry '%r' in check table.
Must be single hostname or list of hostnames" % hostlist)
if hosttags_match_taglist(tags_of_host(hostname), tags) and \
in_extraconf_hostlist(hostlist, hostname):