[diffoscope] 01/01: Change icc-recognizing regexp to reflect changes in file type description. (Closes: #848814)
Chris Lamb
chris at chris-lamb.co.uk
Thu Dec 22 11:36:42 CET 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit b3cb6d15c2ad29fce86b91e66e629b138688004e
Author: Maria Glukhova <siamezzze at gmail.com>
Date: Wed Dec 21 18:43:37 2016 +0200
Change icc-recognizing regexp to reflect changes in file type description. (Closes: #848814)
ICC comparator relies on file type description aquired from python-magic to recognize ICC files. With the change of file type description, regexp had to be changed to properly recognize them.
Signed-off-by: Chris Lamb <lamby at debian.org>
---
diffoscope/comparators/icc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/comparators/icc.py b/diffoscope/comparators/icc.py
index 8bdbf9a..c812312 100644
--- a/diffoscope/comparators/icc.py
+++ b/diffoscope/comparators/icc.py
@@ -32,7 +32,7 @@ class Iccdump(Command):
class IccFile(File):
- RE_FILE_EXTENSION = re.compile(r'\bICC Profile$')
+ RE_FILE_EXTENSION = re.compile(r'\bColorSync (ICC|color) [Pp]rofile')
@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 diffoscope
mailing list