mat2: do not check the input file for W_OK
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
This commit is contained in:
parent
51ff89c512
commit
b4b150a4f5
2
mat2
2
mat2
@ -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:
|
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
|
return False
|
||||||
|
|
||||||
p, mtype = parser_factory.get_parser(filename) # type: ignore
|
p, mtype = parser_factory.get_parser(filename) # type: ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user