[kernel] r19011 - people/benh
Ben Hutchings
benh at alioth.debian.org
Sat May 19 15:31:37 UTC 2012
Author: benh
Date: Sat May 19 15:31:36 2012
New Revision: 19011
Log:
Handle bugs with source packages of '', 'linux-2.6.24', etc.
Modified:
people/benh/bts-reassign-to-linux-2.6
Modified: people/benh/bts-reassign-to-linux-2.6
==============================================================================
--- people/benh/bts-reassign-to-linux-2.6 Fri May 18 13:54:24 2012 (r19010)
+++ people/benh/bts-reassign-to-linux-2.6 Sat May 19 15:31:36 2012 (r19011)
@@ -52,7 +52,8 @@
pass
def reassign(txn, report):
- if report.source == 'linux-2.6':
+ if (report.source.startswith('linux-2.6') or
+ (report.source == '' and report.package.startswith('linux-image-'))):
if report.found_versions:
txn.reassign(report.bug_num, 'linux-2.6', report.found_versions[0])
else:
@@ -75,7 +76,7 @@
else:
txn.reassign(report.bug_num, 'linux-2.6')
else:
- raise ValueError('source package for report %d is %s'
+ raise ValueError('source package for report %d is "%s"'
% (report.bug_num, report.source))
def reassign_numbered(nn):
More information about the Kernel-svn-changes
mailing list