Skip to content
Snippets Groups Projects
Commit 2d3bc4ad authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fix for #162.

parent f823122b
Branches
Tags
No related merge requests found
Pipeline #51096 canceled
......@@ -139,7 +139,7 @@ class MatchingParser(Parser):
if self._mainfile_contents_re.search(decoded_buffer) is None:
return False
return self._mainfile_mime_re.match(mime) is not None and \
self._mainfile_name_re.match(filename) is not None and \
self._mainfile_name_re.fullmatch(filename) is not None and \
(compression is None or compression in self._supported_compressions)
def __repr__(self):
......
......@@ -72,7 +72,7 @@ for parser, mainfile in parser_examples:
parser_examples = fixed_parser_examples
correct_num_output_files = 41
correct_num_output_files = 38
class TestLocalBackend(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment