From 785648dfc961b4c49ef87e4f7b8844b546211b33 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Fri, 24 May 2013 03:45:42 +0200 Subject: [PATCH] cleanups --- lib/config/hosts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/config/hosts.py b/lib/config/hosts.py index aa6a10f..8551b6f 100644 --- a/lib/config/hosts.py +++ b/lib/config/hosts.py @@ -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