Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Seitosh
csback
Commits
c23a7d55
Commit
c23a7d55
authored
Aug 05, 2019
by
thomas.forbriger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
csbackchk: fix python syntax
parent
bc281a9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
csbackchk.py
csbackchk.py
+3
-1
No files found.
csbackchk.py
View file @
c23a7d55
...
...
@@ -135,6 +135,9 @@ def main(argv=None):
console
.
setFormatter
(
logging
.
Formatter
(
\
'%(name)-8s [%(lineno)d]: %(levelname)-8s %(message)s'
))
# prepare message for try-except-else conditional
abortmessage
=
"program aborts unexpectedly; checks are not completed!"
# fetch arguments
if
argv
is
None
:
argv
=
sys
.
argv
...
...
@@ -239,7 +242,6 @@ def main(argv=None):
logger
.
getLogger
().
info
(
\
"Check of files in '{0}' finished."
.
format
(
path
[
1
]))
abortmessage
=
"program aborts unexpectedly; checks are not completed!"
except
Usage
as
err
:
sys
.
stderr
.
write
(
str
(
err
))
return
err
.
errorCode
...
...
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