)]}'
{"climateclient/base.py":[{"author":{"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},"change_message_id":"5bf7a644e31719288bd3a042042e2d76539cbfbb","unresolved":false,"context_lines":[{"line_number":125,"context_line":"            body \u003d None"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"        if resp.status_code \u003e\u003d 400:"},{"line_number":128,"context_line":"            body \u003d _(\"ERROR: \") + body.get(\u0027error_message\u0027, body)"},{"line_number":129,"context_line":"            raise exception.ClimateClientException(body, code\u003dresp.status_code)"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        return resp, body"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2BRfc%3D","line":128,"updated":"2014-01-28 14:10:38.000000000","message":"the only moment is that I prefer using string templates, not str+str construction. like\n\nbody \u003d _(\"ERROR: %s\") % body.get(\u0027error_message\u0027, body)","commit_id":"18c13f1104d4cfd9da02833d2ffed96fa0757878"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"1c3251209d00bf2c6a93e283c7e196ba479f485e","unresolved":false,"context_lines":[{"line_number":125,"context_line":"            body \u003d None"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"        if resp.status_code \u003e\u003d 400:"},{"line_number":128,"context_line":"            body \u003d _(\"ERROR: \") + body.get(\u0027error_message\u0027, body)"},{"line_number":129,"context_line":"            raise exception.ClimateClientException(body, code\u003dresp.status_code)"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        return resp, body"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2BOMQ%3D","line":128,"in_reply_to":"AAAAUH%2F%2BRfc%3D","updated":"2014-01-28 23:06:30.000000000","message":"OK with this, but this snippet is not Py3 compliant (so I\u0027ll implement.format() instead (\u003epy2.5)","commit_id":"18c13f1104d4cfd9da02833d2ffed96fa0757878"}]}
