copr-builder: check_output can't be used with stdout=
This commit is contained in:
parent
6ddb45f037
commit
e6ecfdcdb9
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ def _main():
|
|||
|
||||
cmd = "source {} ; echo $IBMCLOUD_API_KEY".format(
|
||||
pipes.quote(opts.token_file))
|
||||
output = subprocess.check_output(cmd, shell=True, stdout=sys.stderr)
|
||||
output = subprocess.check_output(cmd, shell=True)
|
||||
token = output.decode("utf-8").strip().rsplit("\n", maxsplit=1)[-1]
|
||||
authenticator = IAMAuthenticator(token)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue