)]}'
{"jenkins/scripts/release-tools/list_deliverable_branches.py":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"d0d81941c3e5573c11559168525443f7e0ee5b86","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    results \u003d subprocess.check_output("},{"line_number":34,"context_line":"        [\u0027git\u0027, \u0027diff\u0027, \u0027--name-only\u0027, \u0027--pretty\u003dformat:\u0027, \u0027HEAD^\u0027],"},{"line_number":35,"context_line":"        cwd\u003dreporoot,"},{"line_number":36,"context_line":"    ).decode(\u0027utf-8\u0027)"},{"line_number":37,"context_line":"    filenames \u003d ["},{"line_number":38,"context_line":"        l.strip()"},{"line_number":39,"context_line":"        for l in results.splitlines()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_8f9d545b","line":36,"updated":"2017-05-18 00:30:49.000000000","message":"We do this over and over again with different methods when replicating bash scripts in python :)\n\nI\u0027ve been quite happy with \"universal_newlines\u003dTrue\" when taking subprocess output to ensure that it\u0027s decoded using the preferred locale?","commit_id":"c35878636a4b76f40bfe5137e660b78afd4be033"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"cefb55dc8d955f39f7e87929377aa691e644b119","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    results \u003d subprocess.check_output("},{"line_number":34,"context_line":"        [\u0027git\u0027, \u0027diff\u0027, \u0027--name-only\u0027, \u0027--pretty\u003dformat:\u0027, \u0027HEAD^\u0027],"},{"line_number":35,"context_line":"        cwd\u003dreporoot,"},{"line_number":36,"context_line":"    ).decode(\u0027utf-8\u0027)"},{"line_number":37,"context_line":"    filenames \u003d ["},{"line_number":38,"context_line":"        l.strip()"},{"line_number":39,"context_line":"        for l in results.splitlines()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_b82167b7","line":36,"in_reply_to":"ff0f0b1f_8f9d545b","updated":"2017-05-18 17:15:55.000000000","message":"I had no idea that conversion to string was a side-effect of that option, but it makes sense.\n\nI think I prefer the explicitness of the decode() call here, though.","commit_id":"c35878636a4b76f40bfe5137e660b78afd4be033"}]}
