)]}'
{"glance/common/scripts/utils.py":[{"author":{"_account_id":17123,"name":"Tom Cocozzello (tjcocozz)","email":"tjcocozz@us.ibm.com","username":"tcocozzello"},"change_message_id":"e082d90aef03f17eb7c43a87300944aeaf74342c","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        #"},{"line_number":131,"context_line":"        # We\u0027re not using StringIO or other tools to avoid reading everything"},{"line_number":132,"context_line":"        # into memory. Some images may be quite heavy."},{"line_number":133,"context_line":"        return open(uri, \"rb\")"},{"line_number":134,"context_line":"    resp \u003d requests.get(uri)"},{"line_number":135,"context_line":"    return resp.content"}],"source_content_type":"text/x-python","patch_set":1,"id":"7af24918_373a9c99","line":133,"range":{"start_line":133,"start_character":26,"end_line":133,"end_character":28},"updated":"2016-03-03 22:34:12.000000000","message":"why is this being switched to rb, Is it to be py34 compatible? Should we add some tests for this? \n\nIn the docs it says files can be corrupted when you are reading it in a bytes...  https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files","commit_id":"c2889ea3d7df191b0b19fbc68970d3fc570e523c"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"db4d5eec780239845f26aca6716c588ec414b2db","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        #"},{"line_number":131,"context_line":"        # We\u0027re not using StringIO or other tools to avoid reading everything"},{"line_number":132,"context_line":"        # into memory. Some images may be quite heavy."},{"line_number":133,"context_line":"        return open(uri, \"rb\")"},{"line_number":134,"context_line":"    resp \u003d requests.get(uri)"},{"line_number":135,"context_line":"    return resp.content"}],"source_content_type":"text/x-python","patch_set":1,"id":"7af24918_f445c742","line":133,"range":{"start_line":133,"start_character":26,"end_line":133,"end_character":28},"in_reply_to":"7af24918_373a9c99","updated":"2016-03-04 03:38:58.000000000","message":"I agree let\u0027s avoid reading binary.","commit_id":"c2889ea3d7df191b0b19fbc68970d3fc570e523c"}]}
