Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
csback
Commits
c23a7d55
Commit
c23a7d55
authored
Aug 05, 2019
by
thomas.forbriger
Browse files
csbackchk: fix python syntax
parent
bc281a9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
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