Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Adam Mercer
Koji Packager
Commits
6359657a
Verified
Commit
6359657a
authored
May 09, 2019
by
Adam Mercer
Browse files
direct stderr to stdout
parent
5bbac695
Changes
1
Hide whitespace changes
Inline
Side-by-side
koji-packager
View file @
6359657a
...
...
@@ -61,7 +61,7 @@ def parse_options():
def
check_connection_to_koji
():
try
:
subprocess
.
check_call
([
'koji'
,
'moshimoshi'
],
stdout
=
subprocess
.
DEVNULL
,
stderr
=
subprocess
.
DEVNULL
)
stdout
=
subprocess
.
DEVNULL
,
stderr
=
subprocess
.
STDOUT
)
except
subprocess
.
CalledProcessError
as
e
:
print
(
'Authentication failed, do you have a valid kerberos ticket?'
)
sys
.
exit
(
1
)
...
...
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