cleanups
This commit is contained in:
parent
ba176917f5
commit
785648dfc9
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ class HostService:
|
||||||
|
|
||||||
|
|
||||||
def parseHostList(hosts, services, log):
|
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
|
#precompiled regexPattern which finds replacements in service strings
|
||||||
pattern = re.compile("@(\w+)")
|
pattern = re.compile("@(\w+)")
|
||||||
#get a List of Host Objects and leave services unparsed for this moment
|
#get a List of Host Objects and leave services unparsed for this moment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue