)]}'
{"novaclient/utils.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"7d5e528deeb466ab32d130230c5b750e9123a1ce","unresolved":false,"context_lines":[{"line_number":100,"context_line":"                try:"},{"line_number":101,"context_line":"                    if type(data) \u003d\u003d unicode:"},{"line_number":102,"context_line":"                        data \u003d data.encode(\u0027utf-8\u0027)"},{"line_number":103,"context_line":"                except:"},{"line_number":104,"context_line":"                    data \u003d str(data)"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"                # \u0027\\r\u0027 would break the table, so remove it."}],"source_content_type":"text/x-python","patch_set":2,"id":"ba8a016a_acd8ae1e","line":103,"updated":"2015-11-16 16:48:08.000000000","message":"Bare \u0027except\u0027 clauses are barred by our stylistic guidelines, as are type comparisons.  Finally, \u0027unicode\u0027 does not exist in Python 3.","commit_id":"4a1a4de00cd54e7d902639300ada76e4d6a2e276"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"03e5286ebdaf18d568a2cdf9fac62f9542bac3ed","unresolved":false,"context_lines":[{"line_number":109,"context_line":"                    try:"},{"line_number":110,"context_line":"                        data \u003d encodeutils.safe_encode(data)"},{"line_number":111,"context_line":"                    except UnicodeDecodeError:"},{"line_number":112,"context_line":"                        pass"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"                # \u0027\\r\u0027 would break the table, so remove it."},{"line_number":115,"context_line":"                data \u003d str(data).replace(\"\\r\", \"\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba8a016a_afadf989","line":112,"updated":"2015-11-16 19:36:17.000000000","message":"This appears to be almost the same thing as is in https://review.openstack.org/#/c/244940/, and my question as to why encodeutils.safe_encode() is not used unconditionally has not yet been answered.","commit_id":"7a9089b7c65d2e20e5f229f0dafb948dd0984a5d"}]}
