sponsor-patch: Check the bug's title, not the task, when determining

source series for syncs.
This commit is contained in:
Stefano Rivera 2011-11-27 17:30:14 +02:00
parent d0f707f33d
commit 42e8c8b643
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -12,6 +12,8 @@ ubuntu-dev-tools (0.137) UNRELEASED; urgency=low
smarter. smarter.
* sponsor-patch: Build a source package for lintian to run on, when not * sponsor-patch: Build a source package for lintian to run on, when not
test-building syncs. test-building syncs.
* sponsor-patch: Check the bug's title, not the task, when determining
source series for syncs.
-- Stefano Rivera <stefanor@debian.org> Mon, 21 Nov 2011 09:47:00 +0200 -- Stefano Rivera <stefanor@debian.org> Mon, 21 Nov 2011 09:47:00 +0200

View File

@ -119,7 +119,7 @@ class BugTask(object):
if self.is_derived_from_debian() and not latest_release: if self.is_derived_from_debian() and not latest_release:
project = "debian" project = "debian"
title = self.bug_task.title.lower().split() title = self.bug_task.bug.title.lower().split()
if "experimental" in title: if "experimental" in title:
series = "experimental" series = "experimental"
elif "testing" in title: elif "testing" in title: