[Reproducible-commits] [debbindiff] 01/05: Always use given source path in binary_fallback

Jérémy Bobbio lunar at moszumanska.debian.org
Tue Dec 30 11:48:57 UTC 2014


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

lunar pushed a commit to branch master
in repository debbindiff.

commit afd45756263ba9b9f0af3050484c849b8e95f349
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Dec 26 18:11:33 2014 +0100

    Always use given source path in binary_fallback
    
    Even when we fallback to binary comparison.
---
 debbindiff/comparators/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debbindiff/comparators/utils.py b/debbindiff/comparators/utils.py
index 420d696..5a729fc 100644
--- a/debbindiff/comparators/utils.py
+++ b/debbindiff/comparators/utils.py
@@ -53,7 +53,7 @@ def binary_fallback(original_function):
         inside_differences = original_function(path1, path2, source)
         # no differences detected inside? let's at least do a binary diff
         if len(inside_differences) == 0:
-            difference = compare_binary_files(path1, path2)[0]
+            difference = compare_binary_files(path1, path2, source=source)[0]
             difference.comment = \
                 "No differences found inside, yet data differs"
         else:

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



More information about the Reproducible-commits mailing list