Change to more intuitive? method name.

This commit is contained in:
Larry Kim 2013-05-16 14:39:02 +09:00
parent 603e91c0e2
commit 1577c23b7c

View File

@ -99,8 +99,7 @@ class Parser(object):
logging.debug("__init__: self.parseConf = %s"%(self.parseConf))
def run(self):
def parse(self):
result = {}
for key in self.parseConf:
matches = re.findall(self.parseConf[key], self.text, re.MULTILINE)
@ -111,4 +110,7 @@ class Parser(object):
else:
logging.debug("run: No match for %s"%(key))
print result
return result