EditBugReport: Correct typo.

This commit is contained in:
Stefano Rivera 2011-11-25 15:46:48 +02:00
parent 430fc81aab
commit 8d83b9b1de
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -10,6 +10,7 @@ ubuntu-dev-tools (0.136ubuntu1) UNRELEASED; urgency=low
* pull-lp-source, requestbackport: Take the latest version from any
non-backports pocket. Implemented by making lpapicache's getSourcePackage
smarter.
* EditBugReport: Correct typo.
-- Stefano Rivera <stefanor@debian.org> Mon, 21 Nov 2011 09:47:00 +0200

View File

@ -192,7 +192,7 @@ class EditBugReport(EditFile):
report = f.read().decode('utf-8')
match = self.split_re.match(report)
title = u' '.join(match.group(1).spit(u'\n'))
title = match.group(1).replace(u'\n', u' ')
report = (title, match.group(2))
os.unlink(self.filename)
return report