[diffoscope] 01/01: Fix a logic error in _install_debug_symbols

Jérémy Bobbio lunar at moszumanska.debian.org
Tue Feb 9 10:49:19 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 9cdb64f763679fe9ae17f3e6f2b339c16b2413ac
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Tue Feb 9 10:46:57 2016 +0100

    Fix a logic error in _install_debug_symbols
    
    Thanks anthraxx for the report and the fix.
---
 diffoscope/comparators/elf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/elf.py b/diffoscope/comparators/elf.py
index 7420579..427660c 100644
--- a/diffoscope/comparators/elf.py
+++ b/diffoscope/comparators/elf.py
@@ -370,7 +370,7 @@ class ElfContainer(Container):
             return
         # It needs to be a .deb and we need access a to a -dbgsym package in
         # the same .changes, directory or archive
-        if not isinstance(deb, DebFile) and not deb.container:
+        if not isinstance(deb, DebFile) or not deb.container:
             return
         # Retrieve the Build Id for the ELF file we are exhamining
         build_id = get_build_id(self.source.path)

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


More information about the diffoscope mailing list