[diffoscope] 01/01: Fix finding debug packages with multiple Build-Ids

Jérémy Bobbio lunar at moszumanska.debian.org
Tue Jan 26 00:14:49 CET 2016


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

lunar pushed a commit to branch master
in repository diffoscope.

commit 64e458b5dc8ddf5cb8d90d6dbc2e1f7f097b76db
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Mon Jan 25 21:57:43 2016 +0000

    Fix finding debug packages with multiple Build-Ids
    
    Build-Ids are separated by spaces and not commas.
---
 diffoscope/comparators/deb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/deb.py b/diffoscope/comparators/deb.py
index e8ed3f2..1b8491e 100644
--- a/diffoscope/comparators/deb.py
+++ b/diffoscope/comparators/deb.py
@@ -42,7 +42,7 @@ def get_build_id_map(container):
         if isinstance(member, DebFile) and member.control:
             build_ids = member.control.get('Build-Ids', None)
             if build_ids:
-                d.update({build_id: member for build_id in build_ids.split(',')})
+                d.update({build_id: member for build_id in build_ids.split()})
     return d
 
 

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


More information about the diffoscope mailing list