[Reproducible-commits] [diffoscope] 01/04: Parse md5sums in .deb even if they are identical
Jérémy Bobbio
lunar at moszumanska.debian.org
Sat Sep 5 16:01:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/parallel
in repository diffoscope.
commit 81c17b79ce6aabe73c9960d67ac7b9188fc0f74d
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