mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-05 20:35:38 +00:00
Remove stderr from subprocess error
it is not a supported keyword
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user