EditBugReport: Don't include a newline in the bug title.

This commit is contained in:
Stefano Rivera 2011-11-16 14:31:35 +02:00
parent 26ff36479a
commit 31e6991f24
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -10,6 +10,7 @@ ubuntu-dev-tools (0.136) UNRELEASED; urgency=low
* mk-sbuild: debootstrap with all components, so that eatmydata can be
installed.
* EditFile: Don't try and store temporary files in /usr/bin.
* EditBugReport: Don't include a newline in the bug title.
-- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 15 Nov 2011 16:01:32 -0500

View File

@ -162,7 +162,7 @@ class EditFile(object):
class EditBugReport(EditFile):
split_re = re.compile(r'^Summary.*?:\s+(.*)\s+'
split_re = re.compile(r'^Summary.*?:\s+(.*?)\s+'
r'Description:\s+(.*)$',
re.DOTALL | re.UNICODE)