commit | 6bc671a4ec4f8b835d6ea153ca39607f25a16122 | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Sat Jul 01 14:55:13 2017 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Sat Jul 01 14:55:13 2017 +0000 |
tree | 94a7e8056c28b207df96d292ca9f37dd260ceda5 | |
parent | 2e8052b40ac9722ac3279586bf89491660fa7e46 [diff] | |
parent | 3fabd442261c5b02372535fd8677f5c6e8b8b2de [diff] |
Merge "Fix py3 issue with command module" into feature/zuulv3
diff --git a/zuul/ansible/library/command.py b/zuul/ansible/library/command.py index 8bec502..00020c7 100644 --- a/zuul/ansible/library/command.py +++ b/zuul/ansible/library/command.py
@@ -172,8 +172,8 @@ if not line: break _log_lines.append(line) - if not line.endswith('\n'): - line += '\n' + if not line.endswith(b'\n'): + line += b'\n' newline_warning = True console.addLine(line) if newline_warning: