mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
s/m/match/
This commit is contained in:
parent
82951a2716
commit
697b8d6bd3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user