)]}'
{"scripts/ansible-role-requirements-editer.py":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"2c0a2b82f23367a9353d0384a8575f4779c517d0","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    args \u003d parser.parse_args()"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    # Read the ansible-role-requirements.yml file into memory"},{"line_number":85,"context_line":"    with open(args.file, \"r+\") as role_req_file:"},{"line_number":86,"context_line":"        reqs \u003d yaml.safe_load(role_req_file)"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    # Loop through the list to find the applicable role"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_99629bac","line":85,"updated":"2016-04-15 10:10:49.000000000","message":"We open for reading, should this not just be \"r\"?","commit_id":"f9776c46a494d80bee7a8d34f54a34bee57af3c8"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"520f792e06dea2fd5925af4921629294edf0cb1a","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    args \u003d parser.parse_args()"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    # Read the ansible-role-requirements.yml file into memory"},{"line_number":85,"context_line":"    with open(args.file, \"r+\") as role_req_file:"},{"line_number":86,"context_line":"        reqs \u003d yaml.safe_load(role_req_file)"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    # Loop through the list to find the applicable role"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_3926e716","line":85,"in_reply_to":"1a122d0e_99629bac","updated":"2016-04-15 10:16:42.000000000","message":"Yeah, that probably makes sense - not crucial, but more correct.","commit_id":"f9776c46a494d80bee7a8d34f54a34bee57af3c8"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"2c0a2b82f23367a9353d0384a8575f4779c517d0","unresolved":false,"context_lines":[{"line_number":94,"context_line":"                role_data[\u0027src\u0027] \u003d args.src"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    # Write out the resulting file"},{"line_number":97,"context_line":"    with open(args.file, \"r+\") as role_req_file:"},{"line_number":98,"context_line":"        try:"},{"line_number":99,"context_line":"            yaml.dump(reqs, role_req_file, default_flow_style\u003dFalse)"},{"line_number":100,"context_line":"        except yaml.YAMLError as exc:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_9909fbe0","line":97,"updated":"2016-04-15 10:10:49.000000000","message":"I get some jibberish written to the end of my role requirements file after updating, when I change this to \"w\" it works fine.  Do you want to see if you can replicate locally?","commit_id":"f9776c46a494d80bee7a8d34f54a34bee57af3c8"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"520f792e06dea2fd5925af4921629294edf0cb1a","unresolved":false,"context_lines":[{"line_number":94,"context_line":"                role_data[\u0027src\u0027] \u003d args.src"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    # Write out the resulting file"},{"line_number":97,"context_line":"    with open(args.file, \"r+\") as role_req_file:"},{"line_number":98,"context_line":"        try:"},{"line_number":99,"context_line":"            yaml.dump(reqs, role_req_file, default_flow_style\u003dFalse)"},{"line_number":100,"context_line":"        except yaml.YAMLError as exc:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_594643c0","line":97,"in_reply_to":"1a122d0e_9909fbe0","updated":"2016-04-15 10:16:42.000000000","message":"That\u0027s odd - I used this as-is to do the most recent stable/mitaka updates and there was no gibberish output. What command did you run, and what platform did you run it on?","commit_id":"f9776c46a494d80bee7a8d34f54a34bee57af3c8"}]}
