s/m/match/

This commit is contained in:
Stefano Rivera 2011-11-15 01:51:27 +02:00
parent 82951a2716
commit 697b8d6bd3

View File

@ -191,7 +191,7 @@ class EditBugReport(EditFile):
with open(self.filename, 'r') as f: with open(self.filename, 'r') as f:
report = f.read().decode('utf-8') report = f.read().decode('utf-8')
m = self.split_re.match(report) match = self.split_re.match(report)
report = (m.group(1), m.group(2)) report = (match.group(1), match.group(2))
os.unlink(self.filename) os.unlink(self.filename)
return report return report