diff options
| author | Antoine Tenart | 2019-03-26 18:08:03 +0100 |
|---|---|---|
| committer | Antoine Tenart | 2019-03-26 18:11:21 +0100 |
| commit | b4b150a4f56d4fc0b6240e6a4b4537a89b11c49a (patch) | |
| tree | 7792184d2efc2e7b15e80a24d1375e7ce2250008 | |
| parent | 51ff89c5127430bcdd6a77eb324e3e84f533d594 (diff) | |
mat2: do not check the input file for W_OK
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
| -rwxr-xr-x | mat2 | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -100,7 +100,7 @@ def __print_meta(filename: str, metadata: dict, depth: int = 1): | |||
| 100 | 100 | ||
| 101 | 101 | ||
| 102 | def clean_meta(filename: str, is_lightweight: bool, policy: UnknownMemberPolicy) -> bool: | 102 | def clean_meta(filename: str, is_lightweight: bool, policy: UnknownMemberPolicy) -> bool: |
| 103 | if not __check_file(filename, os.R_OK|os.W_OK): | 103 | if not __check_file(filename, os.R_OK): |
| 104 | return False | 104 | return False |
| 105 | 105 | ||
| 106 | p, mtype = parser_factory.get_parser(filename) # type: ignore | 106 | p, mtype = parser_factory.get_parser(filename) # type: ignore |
