From 8d83b9b1de95208e2cfc4eac86c814645139870e Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Fri, 25 Nov 2011 15:46:48 +0200 Subject: [PATCH] EditBugReport: Correct typo. --- debian/changelog | 1 + ubuntutools/question.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b962b91..bfb573b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 21 Nov 2011 09:47:00 +0200 diff --git a/ubuntutools/question.py b/ubuntutools/question.py index bc231b1..b181988 100644 --- a/ubuntutools/question.py +++ b/ubuntutools/question.py @@ -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