2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-28 20:39:40 +00:00

Remove stderr from subprocess error

it is not a supported keyword
This commit is contained in:
Jarrod Johnson 2021-12-15 12:28:09 -05:00
parent c88f34d1e1
commit 48ea6225aa

View File

@ -34,7 +34,7 @@ def run(cmd):
stdout, stderr = process.communicate()
retcode = process.poll()
if retcode:
raise subprocess.CalledProcessError(retcode, process.args, output=stdout, stderr=stderr)
raise subprocess.CalledProcessError(retcode, process.args, output=stdout)
return stdout, stderr