Commit 04731378 authored by Jorn Bruggeman's avatar Jorn Bruggeman
Browse files

testing: support python < 3.7

parent 33811580
......@@ -51,7 +51,7 @@ print('Selected hosts: %s' % ', '.join(args.hosts))
logs = []
def run(phase, args, verbose=False, **kwargs):
proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True, **kwargs)
proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True, **kwargs)
stdoutdata, _ = proc.communicate()
if proc.returncode != 0:
log_path = '%s.log' % phase
......
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