Commit b4b150a4 authored by atenart's avatar atenart

mat2: do not check the input file for W_OK

Signed-off-by: atenart's avatarAntoine Tenart <>
parent 51ff89c5
......@@ -100,7 +100,7 @@ def __print_meta(filename: str, metadata: dict, depth: int = 1):
def clean_meta(filename: str, is_lightweight: bool, policy: UnknownMemberPolicy) -> bool:
if not __check_file(filename, os.R_OK|os.W_OK):
if not __check_file(filename, os.R_OK):
return False
p, mtype = parser_factory.get_parser(filename) # type: ignore
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