[Reproducible-commits] [debbindiff] 02/04: Fix comparator for unknown files
Jérémy Bobbio
lunar at moszumanska.debian.org
Sun Jun 28 13:03:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository debbindiff.
commit 58ac6f9450c9072bfe90dca5580fe861aa29c3eb
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sun Jun 28 09:21:09 2015 +0000
Fix comparator for unknown files
---
debbindiff/comparators/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debbindiff/comparators/__init__.py b/debbindiff/comparators/__init__.py
index f95743e..bcd456d 100644
--- a/debbindiff/comparators/__init__.py
+++ b/debbindiff/comparators/__init__.py
@@ -71,7 +71,7 @@ def guess_mime_type(path):
def compare_unknown(path1, path2, source=None):
logger.debug("compare unknown path: %s and %s", path1, path2)
if are_same_binaries(path1, path2):
- return []
+ return None
mime_type1 = guess_mime_type(path1)
mime_type2 = guess_mime_type(path2)
logger.debug("mime_type1: %s | mime_type2: %s", mime_type1, mime_type2)
--
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