[Reproducible-commits] [debbindiff] 01/01: Use given source path in binary_fallback decorator
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Dec 26 16:33:53 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 461777ac22a87ebe9e891b8c13154271cacce0ed
Author: Jérémy Bobbio <lunar at debian.org>
Date: Fri Dec 26 16:30:14 2014 +0000
Use given source path in binary_fallback decorator
We actually want to use the path given by the caller. We now properly
display the path of a file when it is in an archive.
---
debbindiff/comparators/utils.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debbindiff/comparators/utils.py b/debbindiff/comparators/utils.py
index d7d442f..420d696 100644
--- a/debbindiff/comparators/utils.py
+++ b/debbindiff/comparators/utils.py
@@ -57,8 +57,7 @@ def binary_fallback(original_function):
difference.comment = \
"No differences found inside, yet data differs"
else:
- difference = Difference(None, None, path1, path2,
- source=get_source(path1, path2))
+ difference = Difference(None, None, path1, path2, source=source)
difference.add_details(inside_differences)
return [difference]
return with_fallback
--
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