1
0
Fork 0

mat2: do not check the input file for W_OK

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
This commit is contained in:
Antoine Tenart 2019-03-26 18:08:03 +01:00
parent 51ff89c512
commit b4b150a4f5
1 changed files with 1 additions and 1 deletions

2
mat2
View File

@ -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