Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
hggitforge
Commits
29215555b91e
Commit
cae8ca2a
authored
Oct 14, 2020
by
Elouan Martinet
Browse files
Trim command output
parent
119cc9f67298
Changes
1
Hide whitespace changes
Inline
Side-by-side
hggithub.py
View file @
29215555
...
...
@@ -21,7 +21,7 @@ def cmd(description, *args, **kwargs):
kwargs
[
"stderr"
]
=
STDOUT
check_output
(
*
args
,
**
kwargs
)
except
CalledProcessError
as
ex
:
print
(
ex
.
output
)
print
(
ex
.
output
)
.
strip
()
print
(
"Command exited with code %d"
%
ex
.
returncode
)
raise
...
...
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