[Reproducible-commits] [diffoscope] 01/01: Fix detection of jar archives

Reiner Herrmann reiner at reiner-h.de
Wed Aug 19 10:56:43 UTC 2015


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

deki-guest pushed a commit to branch master
in repository diffoscope.

commit 4d74eff6ac4e6ae8967306afcf353b8403096225
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Wed Aug 19 12:58:05 2015 +0200

    Fix detection of jar archives
---
 diffoscope/comparators/zip.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/zip.py b/diffoscope/comparators/zip.py
index c2077f8..4275b51 100644
--- a/diffoscope/comparators/zip.py
+++ b/diffoscope/comparators/zip.py
@@ -90,7 +90,7 @@ class ZipContainer(Archive):
 
 
 class ZipFile(File):
-    RE_FILE_TYPE = re.compile(r'^(Zip archive|EPUB ebook) data\b')
+    RE_FILE_TYPE = re.compile(r'^(Zip archive|Java archive|EPUB ebook) data\b')
 
     @staticmethod
     def recognizes(file):

-- 
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