Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.cmdline
Commits
a85ee916
Commit
a85ee916
authored
May 22, 2018
by
Theophile GENTILHOMME
Browse files
[common] Keep return afetr sys.exit()
parent
2f86cf43
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/cmdline/common.py
View file @
a85ee916
...
...
@@ -725,7 +725,9 @@ def check(prefix, type, names):
"""
names
=
make_up_local_list
(
prefix
,
type
,
names
)
sys
.
exit
(
sum
([
check_one
(
prefix
,
type
,
name
)
for
name
in
names
]))
n
=
sum
([
check_one
(
prefix
,
type
,
name
)
for
name
in
names
])
sys
.
exit
(
n
)
return
n
def
fetch_object
(
webapi
,
type
,
name
,
fields
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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