mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-21 07:11:14 +00:00
Remove all newlines from titles
This commit is contained in:
parent
41917433bd
commit
af440c1703
@ -192,6 +192,7 @@ class EditBugReport(EditFile):
|
||||
report = f.read().decode('utf-8')
|
||||
|
||||
match = self.split_re.match(report)
|
||||
report = (match.group(1), match.group(2))
|
||||
title = u' '.join(match.group(1).spit(u'\n'))
|
||||
report = (title, match.group(2))
|
||||
os.unlink(self.filename)
|
||||
return report
|
||||
|
Loading…
x
Reference in New Issue
Block a user