[Reproducible-commits] [diffoscope] 01/04: Parse md5sums in .deb even if they are identical

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Sep 17 11:25:10 UTC 2015


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

lunar pushed a commit to annotated tag 34
in repository diffoscope.

commit 540ba0a66dd32b66cfbb6aebfb1db8779660eef8
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sat Sep 5 13:49:19 2015 +0000

    Parse md5sums in .deb even if they are identical
    
    There's no reason to compare all files in the data.tar if we actually
    know they are all identical.
---
 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 daf5315..f02401a 100644
--- a/diffoscope/comparators/deb.py
+++ b/diffoscope/comparators/deb.py
@@ -108,7 +108,7 @@ class Md5sumsFile(File):
 
     @needs_content
     def compare(self, other, source=None):
-        if self.has_same_content_as(other) or other.path is None:
+        if other.path is None:
             return None
         try:
             my_md5sums = Md5sumsFile.parse_md5sums(self.path)

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



More information about the Reproducible-commits mailing list