Skip to content
Snippets Groups Projects
Commit b4b150a4 authored by atenart's avatar atenart
Browse files

mat2: do not check the input file for W_OK

parent 51ff89c5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment