Commit f5120a5f authored by Sandro Knauß's avatar Sandro Knauß Committed by Ben Cooksley

python3.6 has no capture_output paramenter for subprocess.run.

Differential Revision: https://phabricator.kde.org/D17843
parent 2ad7b6af
......@@ -200,7 +200,7 @@ for l in libraries:
]
logging.debug(" ".join(cmd))
try:
prog = subprocess.run(cmd, check=True, capture_output=True)
prog = subprocess.run(cmd, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
except subprocess.CalledProcessError as e:
if e.returncode == 1: # that means that we are not compatible, but still valid output.
logging.warning("abi-compliance-checker exited with 1:\n%s", prog.stdout.decode())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment