This commit is contained in:
Johannes Findeisen 2013-05-24 03:45:42 +02:00
commit 785648dfc9

View file

@ -42,7 +42,9 @@ class HostService:
def parseHostList(hosts, services, log):
'''parse the HostList and replace any command as nessesary '''
"""
parse the HostList and replace any command as nessesary
"""
#precompiled regexPattern which finds replacements in service strings
pattern = re.compile("@(\w+)")
#get a List of Host Objects and leave services unparsed for this moment