mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 02:52:07 +00:00
Remove stderr from subprocess error
it is not a supported keyword
This commit is contained in:
parent
c88f34d1e1
commit
48ea6225aa
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user