Broken mess
This commit is contained in:
parent
068743545b
commit
f636c9f2ad
@ -134,7 +134,7 @@ class Parser(object):
|
|||||||
for key in self.parseConf:
|
for key in self.parseConf:
|
||||||
matches = re.findall(self.parseConf[key], self.text, re.MULTILINE)
|
matches = re.findall(self.parseConf[key], self.text, re.MULTILINE)
|
||||||
if matches:
|
if matches:
|
||||||
logging.debug("run: regex matches found for key %s. %s"%(key, matches))
|
logging.debug("run: regex matches found for key %s. %s"%(key, matches))
|
||||||
result.update({key: map(lambda x: x.strip(), matches)})
|
result.update({key: map(lambda x: x.strip(), matches)})
|
||||||
else:
|
else:
|
||||||
logging.debug("run: No match for %s"%(key))
|
logging.debug("run: No match for %s"%(key))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user