From 42e8c8b6432ec363f40b1e6e302a2148d32a6d7d Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sun, 27 Nov 2011 17:30:14 +0200 Subject: [PATCH] sponsor-patch: Check the bug's title, not the task, when determining source series for syncs. --- debian/changelog | 2 ++ ubuntutools/sponsor_patch/bugtask.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 073cfe2..5507517 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ ubuntu-dev-tools (0.137) UNRELEASED; urgency=low smarter. * sponsor-patch: Build a source package for lintian to run on, when not test-building syncs. + * sponsor-patch: Check the bug's title, not the task, when determining + source series for syncs. -- Stefano Rivera Mon, 21 Nov 2011 09:47:00 +0200 diff --git a/ubuntutools/sponsor_patch/bugtask.py b/ubuntutools/sponsor_patch/bugtask.py index bc61f7a..c88aa50 100644 --- a/ubuntutools/sponsor_patch/bugtask.py +++ b/ubuntutools/sponsor_patch/bugtask.py @@ -119,7 +119,7 @@ class BugTask(object): if self.is_derived_from_debian() and not latest_release: project = "debian" - title = self.bug_task.title.lower().split() + title = self.bug_task.bug.title.lower().split() if "experimental" in title: series = "experimental" elif "testing" in title: