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
mat2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jvoisin
mat2
Commits
2405df04
Commit
2405df04
authored
Mar 22, 2019
by
atenart
Committed by
jvoisin
Mar 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mat2: fix typo in error message when a file does not exist
Signed-off-by:
Antoine Tenart
<
antoine.tenart@ack.tf
>
parent
0e3c2c9b
Pipeline
#23516
failed with stages
in 3 minutes and 6 seconds
Changes
1
Pipelines
1
Hide 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 @
2405df04
...
...
@@ -26,7 +26,7 @@ logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.WARNING)
def
__check_file
(
filename
:
str
,
mode
:
int
=
os
.
R_OK
)
->
bool
:
if
not
os
.
path
.
exists
(
filename
):
print
(
"[-] %s
is
doesn't exist."
%
filename
)
print
(
"[-] %s doesn't exist."
%
filename
)
return
False
elif
not
os
.
path
.
isfile
(
filename
):
print
(
"[-] %s is not a regular file."
%
filename
)
...
...
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