Merge "Fix ansible tasks on python3"

This commit is contained in:
Zuul 2019-03-08 20:24:17 +00:00 committed by Gerrit Code Review
commit d062f11458

View File

@ -567,7 +567,7 @@ class AnsiblePlaybookAction(base.TripleOAction):
start = time.time() start = time.time()
stdout = [] stdout = []
lines = [] lines = []
for line in iter(process.stdout.readline, b''): for line in iter(process.stdout.readline, ''):
lines.append(line) lines.append(line)
if not self.trash_output: if not self.trash_output:
stdout.append(line) stdout.append(line)