Commit b3cb6d15 authored by Maria Glukhova's avatar Maria Glukhova Committed by Chris Lamb

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's avatarChris Lamb <>
parent cd1cd41f
......@@ -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')
def recognizes(file):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment