Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
jvoisin
mat2
Commits
b4b150a4
Commit
b4b150a4
authored
Mar 26, 2019
by
atenart
Browse files
mat2: do not check the input file for W_OK
Signed-off-by:
Antoine Tenart
<
antoine.tenart@ack.tf
>
parent
51ff89c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mat2
mat2
+1
-1
No files found.
mat2
View file @
b4b150a4
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment