[Git][reproducible-builds/diffoscope][master] Correct identify "iOS App Zip archive data" files as .zip files. (Closes:...

Chris Lamb gitlab at salsa.debian.org
Fri May 15 10:08:03 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
1978f9d1 by Chris Lamb at 2020-05-15T11:05:27+01:00
Correct identify "iOS App Zip archive data" files as .zip files. (Closes: reproducible-builds/diffoscope#116)

- - - - -


1 changed file:

- diffoscope/comparators/zip.py


Changes:

=====================================
diffoscope/comparators/zip.py
=====================================
@@ -194,7 +194,7 @@ class ZipFile(File):
     DESCRIPTION = 'ZIP archives'
     CONTAINER_CLASSES = [ZipContainer]
     FILE_TYPE_RE = re.compile(
-        r'^(Zip archive|Java archive|EPUB document|OpenDocument (Text|Spreadsheet|Presentation|Drawing|Formula|Template|Text Template)|Google Chrome extension)\b'
+        r'^((?:iOS App )?Zip archive|Java archive|EPUB document|OpenDocument (Text|Spreadsheet|Presentation|Drawing|Formula|Template|Text Template)|Google Chrome extension)\b'
     )
 
     def compare_details(self, other, source=None):



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/1978f9d1d92ee3ec848d78c918967d3c2f654299

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/1978f9d1d92ee3ec848d78c918967d3c2f654299
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200515/86a554db/attachment.htm>


More information about the rb-commits mailing list