From 31e6991f24bc1155f06650aecb533cc7f7b3c462 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Wed, 16 Nov 2011 14:31:35 +0200 Subject: [PATCH] EditBugReport: Don't include a newline in the bug title. --- debian/changelog | 1 + ubuntutools/question.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 71244db..1b5e8bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 15 Nov 2011 16:01:32 -0500 diff --git a/ubuntutools/question.py b/ubuntutools/question.py index 260b700..417d990 100644 --- a/ubuntutools/question.py +++ b/ubuntutools/question.py @@ -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)