[diffoscope] 02/05: comparators.iso9660: Some .iso images appear as "DOS/MBR boot sector"

Chris Lamb chris at chris-lamb.co.uk
Tue Mar 14 18:59:51 CET 2017


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

lamby pushed a commit to branch experimental
in repository diffoscope.

commit c051ba9d113fd29058e072fb59598323b3864a2a
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Mar 14 11:27:50 2017 +0100

    comparators.iso9660: Some .iso images appear as "DOS/MBR boot sector"
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/comparators/iso9660.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/iso9660.py b/diffoscope/comparators/iso9660.py
index db3134d..dc32479 100644
--- a/diffoscope/comparators/iso9660.py
+++ b/diffoscope/comparators/iso9660.py
@@ -69,7 +69,7 @@ class ISO9660Listing(Command):
 
 class Iso9660File(File):
     CONTAINER_CLASS = LibarchiveContainer
-    RE_FILE_TYPE = re.compile(r'\bISO 9660\b')
+    RE_FILE_TYPE = re.compile(r'\b(ISO 9660|DOS/MBR boot sector)\b')
 
     def compare_details(self, other, source=None):
         differences = []

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


More information about the diffoscope mailing list