[kernel-team] 01/01: bts-reassign-to-linux: Relax matching of source 'linux-latest'

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Jun 17 18:38:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository kernel-team.

commit 58caa2542dd22be7fbddeac9bd19a7add4c54fc8
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Jun 17 19:36:31 2016 +0100

    bts-reassign-to-linux: Relax matching of source 'linux-latest'
    
    The BTS still knows about the old linux-latest-2.6 source package so some
    bugs get a source of 'linux-latest, linux-latest-2.6'.  Change the exact
    match to a prefix match.
---
 scripts/benh/bts-reassign-to-linux | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/benh/bts-reassign-to-linux b/scripts/benh/bts-reassign-to-linux
index 1e77036..4fce654 100755
--- a/scripts/benh/bts-reassign-to-linux
+++ b/scripts/benh/bts-reassign-to-linux
@@ -71,7 +71,7 @@ def reassign(txn, report):
             txn.found(report.bug_num, report.found_versions[i])
         for i in range(0, len(report.fixed_versions)):
             txn.fixed(report.bug_num, report.fixed_versions[i])
-    elif report.source == 'linux-latest':
+    elif report.source.startswith('linux-latest'):
         log = debianbts.get_bug_log(report.bug_num)
         match = re.search(r'\n'
                           r'Versions of packages %s depends on:\n'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git



More information about the Kernel-svn-changes mailing list