)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"477ea0c54687d171a45242108b955f42507c82f1","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix python3 compatibility when HTTP Error are returned"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When trying to contact Ironic with a bad token, Forbidden exception"},{"line_number":10,"context_line":"should be raised, in python3 a TypeError is raised due to json"},{"line_number":11,"context_line":"lib being unable do decode a bytes object."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"3a98d1f4_a34527b4","line":9,"updated":"2016-09-29 18:17:43.000000000","message":"Much better.\n\nCan an explanation of what was done be in the message. This is currently just saying what was broken. Not what was done to fix it.\n\nLike, switched to oslo.serialization to use the jsontuils. blah blah blah.\n\nAlso is there a bug associated with this?","commit_id":"bda6b48af4a36b4edbd9abc9a51eda16fae5de44"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"9ff8531586c4f1c8291a99331c710b619a07b99a","unresolved":false,"context_lines":[{"line_number":11,"context_line":"lib being unable do decode a bytes object."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"In order to be really python3 compatible, the json lib was replaced"},{"line_number":14,"context_line":"with oslo.serialization module jsontuils since it\u0027s the recommanded"},{"line_number":15,"context_line":"migration to python3 guide. This is to ensure that data coming from"},{"line_number":16,"context_line":"the requests lib can be read even if it\u0027s not string anymore but bytes"},{"line_number":17,"context_line":"https://wiki.openstack.org/wiki/Python3"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"1a95cdbc_e3024bb3","line":14,"range":{"start_line":14,"start_character":56,"end_line":14,"end_character":67},"updated":"2016-10-10 10:37:26.000000000","message":"recommended","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"},{"author":{"_account_id":18063,"name":"Marc Aubry","email":"maubry@internap.com","username":"maubry-i"},"change_message_id":"5fa4978293946dd6a7ecd9837b265e1e3efa3753","unresolved":false,"context_lines":[{"line_number":11,"context_line":"lib being unable do decode a bytes object."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"In order to be really python3 compatible, the json lib was replaced"},{"line_number":14,"context_line":"with oslo.serialization module jsontuils since it\u0027s the recommanded"},{"line_number":15,"context_line":"migration to python3 guide. This is to ensure that data coming from"},{"line_number":16,"context_line":"the requests lib can be read even if it\u0027s not string anymore but bytes"},{"line_number":17,"context_line":"https://wiki.openstack.org/wiki/Python3"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"fa6399be_ab5a8c81","line":14,"range":{"start_line":14,"start_character":56,"end_line":14,"end_character":67},"in_reply_to":"1a95cdbc_e3024bb3","updated":"2016-10-11 21:26:09.000000000","message":"Done","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"9ff8531586c4f1c8291a99331c710b619a07b99a","unresolved":false,"context_lines":[{"line_number":13,"context_line":"In order to be really python3 compatible, the json lib was replaced"},{"line_number":14,"context_line":"with oslo.serialization module jsontuils since it\u0027s the recommanded"},{"line_number":15,"context_line":"migration to python3 guide. This is to ensure that data coming from"},{"line_number":16,"context_line":"the requests lib can be read even if it\u0027s not string anymore but bytes"},{"line_number":17,"context_line":"https://wiki.openstack.org/wiki/Python3"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I27540f58e31817d4de604334bc4c62899d82f4cc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"1a95cdbc_a323e354","line":16,"range":{"start_line":16,"start_character":53,"end_line":16,"end_character":60},"updated":"2016-10-10 10:37:26.000000000","message":"any more","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"},{"author":{"_account_id":18063,"name":"Marc Aubry","email":"maubry@internap.com","username":"maubry-i"},"change_message_id":"5fa4978293946dd6a7ecd9837b265e1e3efa3753","unresolved":false,"context_lines":[{"line_number":13,"context_line":"In order to be really python3 compatible, the json lib was replaced"},{"line_number":14,"context_line":"with oslo.serialization module jsontuils since it\u0027s the recommanded"},{"line_number":15,"context_line":"migration to python3 guide. This is to ensure that data coming from"},{"line_number":16,"context_line":"the requests lib can be read even if it\u0027s not string anymore but bytes"},{"line_number":17,"context_line":"https://wiki.openstack.org/wiki/Python3"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I27540f58e31817d4de604334bc4c62899d82f4cc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"fa6399be_8b65c846","line":16,"range":{"start_line":16,"start_character":53,"end_line":16,"end_character":60},"in_reply_to":"1a95cdbc_a323e354","updated":"2016-10-11 21:26:09.000000000","message":"Done","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"}],"ironicclient/common/http.py":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"ba6f4efaf4f161bb07a29746babd73fe989eac09","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"from keystoneauth1 import adapter"},{"line_number":28,"context_line":"from keystoneauth1 import exceptions as kexc"},{"line_number":29,"context_line":"from oslo_serialization import jsonutils"},{"line_number":30,"context_line":"from oslo_utils import strutils"},{"line_number":31,"context_line":"import requests"},{"line_number":32,"context_line":"import six"}],"source_content_type":"text/x-python","patch_set":6,"id":"3a98d1f4_7050435f","line":29,"updated":"2016-09-29 17:59:15.000000000","message":"Why this change? Might be nice to explain in commit message.","commit_id":"0dbf7190fe6246558ccd28456d3525c0e37e878f"},{"author":{"_account_id":18063,"name":"Marc Aubry","email":"maubry@internap.com","username":"maubry-i"},"change_message_id":"e27a3832db27fdbb755a1dac0b30eb5dc45d955a","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"from keystoneauth1 import adapter"},{"line_number":28,"context_line":"from keystoneauth1 import exceptions as kexc"},{"line_number":29,"context_line":"from oslo_serialization import jsonutils"},{"line_number":30,"context_line":"from oslo_utils import strutils"},{"line_number":31,"context_line":"import requests"},{"line_number":32,"context_line":"import six"}],"source_content_type":"text/x-python","patch_set":6,"id":"3a98d1f4_238757d8","line":29,"in_reply_to":"3a98d1f4_7050435f","updated":"2016-09-29 18:18:32.000000000","message":"https://wiki.openstack.org/wiki/Python3#Serialization:_base64.2C_JSON.2C_etc. \n\nIf this lib is suppose to be python3 compatible, better make sure it is really.","commit_id":"0dbf7190fe6246558ccd28456d3525c0e37e878f"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"07b8b6d0947c73493d8ed173bc7ab3ec1dc49ba8","unresolved":false,"context_lines":[{"line_number":360,"context_line":"            self.log_http_response(resp)"},{"line_number":361,"context_line":"        else:"},{"line_number":362,"context_line":"            # Read body into string if it isn\u0027t obviously image data"},{"line_number":363,"context_line":"            body_str \u003d resp.text"},{"line_number":364,"context_line":"            self.log_http_response(resp, body_str)"},{"line_number":365,"context_line":"            body_iter \u003d six.StringIO(body_str)"},{"line_number":366,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa6399be_b93affcb","line":363,"updated":"2016-10-11 12:27:58.000000000","message":"Previously we never loaded everything in memory, even in case of text data, can we use eg iter_lines here? Or use iter_content as before?","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"},{"author":{"_account_id":18063,"name":"Marc Aubry","email":"maubry@internap.com","username":"maubry-i"},"change_message_id":"4c6c7df3c725be0031eec0300bb60ebc6911820e","unresolved":false,"context_lines":[{"line_number":360,"context_line":"            self.log_http_response(resp)"},{"line_number":361,"context_line":"        else:"},{"line_number":362,"context_line":"            # Read body into string if it isn\u0027t obviously image data"},{"line_number":363,"context_line":"            body_str \u003d resp.text"},{"line_number":364,"context_line":"            self.log_http_response(resp, body_str)"},{"line_number":365,"context_line":"            body_iter \u003d six.StringIO(body_str)"},{"line_number":366,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa6399be_d9bb1d71","line":363,"in_reply_to":"fa6399be_b93affcb","updated":"2016-10-11 20:51:52.000000000","message":"Hi,\n\nI\u0027m not sure I understand well, before we did the following\nbody_iter \u003d resp.iter_content(chunk_size\u003dCHUNKSIZE)\nbody_str \u003d None\nbody_str \u003d \u0027\u0027.join([chunk for chunk in body_iter])\n\nWhich do load everything in memory.","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"c1b13dafb9355a6c77d08e7811614efef0185d4a","unresolved":false,"context_lines":[{"line_number":360,"context_line":"            self.log_http_response(resp)"},{"line_number":361,"context_line":"        else:"},{"line_number":362,"context_line":"            # Read body into string if it isn\u0027t obviously image data"},{"line_number":363,"context_line":"            body_str \u003d resp.text"},{"line_number":364,"context_line":"            self.log_http_response(resp, body_str)"},{"line_number":365,"context_line":"            body_iter \u003d six.StringIO(body_str)"},{"line_number":366,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa6399be_c674f19d","line":363,"in_reply_to":"fa6399be_d9bb1d71","updated":"2016-10-12 15:10:08.000000000","message":"Oh, right, sorry :)","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"d7b6f138e1088337fdb755da5da94ff9e74deaa1","unresolved":false,"context_lines":[{"line_number":360,"context_line":"            self.log_http_response(resp)"},{"line_number":361,"context_line":"        else:"},{"line_number":362,"context_line":"            # Read body into string if it isn\u0027t obviously image data"},{"line_number":363,"context_line":"            body_str \u003d resp.text"},{"line_number":364,"context_line":"            self.log_http_response(resp, body_str)"},{"line_number":365,"context_line":"            body_iter \u003d six.StringIO(body_str)"},{"line_number":366,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"9a629dbe_f94d2f73","line":363,"updated":"2016-11-08 14:34:54.000000000","message":"nit: not sure I see the value of creating \u0027body_str\u0027 variable. Seems like could just use resp.txt directly in the following two lines.","commit_id":"ad4963f81ea953439782769a752833cb7436f069"}],"ironicclient/tests/unit/common/test_http.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"07b8b6d0947c73493d8ed173bc7ab3ec1dc49ba8","unresolved":false,"context_lines":[{"line_number":208,"context_line":"    def test_server_exception_empty_body(self):"},{"line_number":209,"context_line":"        error_body \u003d _get_error_body()"},{"line_number":210,"context_line":"        client \u003d http.HTTPClient(\u0027http://localhost/\u0027)"},{"line_number":211,"context_line":"        client.session \u003d utils.mockSession("},{"line_number":212,"context_line":"            {\u0027Content-Type\u0027: \u0027application/json\u0027},"},{"line_number":213,"context_line":"            error_body,"},{"line_number":214,"context_line":"            version\u003d1,"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa6399be_14873362","line":211,"updated":"2016-10-11 12:27:58.000000000","message":"None of these tests actually pass \u0027application/octet-stream\u0027 as content type header. Could you please add one? Also you could avoid changing all of these places by not renaming the classes.","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"},{"author":{"_account_id":18063,"name":"Marc Aubry","email":"maubry@internap.com","username":"maubry-i"},"change_message_id":"5fa4978293946dd6a7ecd9837b265e1e3efa3753","unresolved":false,"context_lines":[{"line_number":208,"context_line":"    def test_server_exception_empty_body(self):"},{"line_number":209,"context_line":"        error_body \u003d _get_error_body()"},{"line_number":210,"context_line":"        client \u003d http.HTTPClient(\u0027http://localhost/\u0027)"},{"line_number":211,"context_line":"        client.session \u003d utils.mockSession("},{"line_number":212,"context_line":"            {\u0027Content-Type\u0027: \u0027application/json\u0027},"},{"line_number":213,"context_line":"            error_body,"},{"line_number":214,"context_line":"            version\u003d1,"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa6399be_eb548455","line":211,"in_reply_to":"fa6399be_14873362","updated":"2016-10-11 21:26:09.000000000","message":"Done","commit_id":"345fb275ab5066124dd238f53c8cd5c8660111aa"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"40598ca0a74df42e0fda5f0ed26c79dfb7619802","unresolved":false,"context_lines":[{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        response, _ \u003d client.json_request(\u0027GET\u0027, \u0027/v1/resources\u0027)"},{"line_number":217,"context_line":"        self.assertEqual(client.session.request.return_value, response)"},{"line_number":218,"context_line":"        self.assertIsNone(_)"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"    def test_server_exception_empty_body(self):"},{"line_number":221,"context_line":"        error_body \u003d _get_error_body()"}],"source_content_type":"text/x-python","patch_set":11,"id":"9a629dbe_ce726349","line":218,"range":{"start_line":218,"start_character":26,"end_line":218,"end_character":27},"updated":"2016-11-08 14:18:27.000000000","message":"If we are going to use the variable perhaps we should name it properly","commit_id":"ad4963f81ea953439782769a752833cb7436f069"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"d7b6f138e1088337fdb755da5da94ff9e74deaa1","unresolved":false,"context_lines":[{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        response, _ \u003d client.json_request(\u0027GET\u0027, \u0027/v1/resources\u0027)"},{"line_number":217,"context_line":"        self.assertEqual(client.session.request.return_value, response)"},{"line_number":218,"context_line":"        self.assertIsNone(_)"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"    def test_server_exception_empty_body(self):"},{"line_number":221,"context_line":"        error_body \u003d _get_error_body()"}],"source_content_type":"text/x-python","patch_set":11,"id":"9a629dbe_4e481388","line":218,"range":{"start_line":218,"start_character":26,"end_line":218,"end_character":27},"in_reply_to":"9a629dbe_ce726349","updated":"2016-11-08 14:34:54.000000000","message":"+1\n\nI\u0027m voting -1 because of this.","commit_id":"ad4963f81ea953439782769a752833cb7436f069"}],"ironicclient/tests/unit/utils.py":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"d48697bddc4b32b3d7ec3ee54c17d7afe96c3291","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                         raw\u003draw,"},{"line_number":118,"context_line":"                         reason\u003d\u0027\u0027,"},{"line_number":119,"context_line":"                         encoding\u003d\u0027UTF-8\u0027)"},{"line_number":120,"context_line":"    if type(content) is bytes:"},{"line_number":121,"context_line":"        response.text \u003d content.decode(\"utf-8\")"},{"line_number":122,"context_line":"    else:"},{"line_number":123,"context_line":"        response.text \u003d content"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a629dbe_949f9a4f","line":120,"updated":"2016-11-08 14:46:14.000000000","message":"I\u0027m curious what the point of this is. Is this a Python 2 vs Python 3 thing?\n\nA comment might be good, so I and others understand why.","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"},{"author":{"_account_id":18062,"name":"Maxime Belanger","email":"mbelanger@internap.com","username":"mbelanger"},"change_message_id":"c6e25fa6eefaaa0522450b1a2a7a87c128aa96e6","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                         raw\u003draw,"},{"line_number":118,"context_line":"                         reason\u003d\u0027\u0027,"},{"line_number":119,"context_line":"                         encoding\u003d\u0027UTF-8\u0027)"},{"line_number":120,"context_line":"    if type(content) is bytes:"},{"line_number":121,"context_line":"        response.text \u003d content.decode(\"utf-8\")"},{"line_number":122,"context_line":"    else:"},{"line_number":123,"context_line":"        response.text \u003d content"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a629dbe_770da336","line":120,"in_reply_to":"9a629dbe_2bbaecc0","updated":"2016-11-08 16:09:48.000000000","message":"Done","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"0a6dca3b66bd86c3b3dbf4786887711ff72c52f3","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                         raw\u003draw,"},{"line_number":118,"context_line":"                         reason\u003d\u0027\u0027,"},{"line_number":119,"context_line":"                         encoding\u003d\u0027UTF-8\u0027)"},{"line_number":120,"context_line":"    if type(content) is bytes:"},{"line_number":121,"context_line":"        response.text \u003d content.decode(\"utf-8\")"},{"line_number":122,"context_line":"    else:"},{"line_number":123,"context_line":"        response.text \u003d content"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a629dbe_2bbaecc0","line":120,"in_reply_to":"9a629dbe_94731ae7","updated":"2016-11-08 15:13:48.000000000","message":"I am confused on when the content passed to the mock is byte vs plain text.","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"907e09d913afef9ec96464b2baa85e7d8eb79d86","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                         raw\u003draw,"},{"line_number":118,"context_line":"                         reason\u003d\u0027\u0027,"},{"line_number":119,"context_line":"                         encoding\u003d\u0027UTF-8\u0027)"},{"line_number":120,"context_line":"    if type(content) is bytes:"},{"line_number":121,"context_line":"        response.text \u003d content.decode(\"utf-8\")"},{"line_number":122,"context_line":"    else:"},{"line_number":123,"context_line":"        response.text \u003d content"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a629dbe_48580633","line":120,"in_reply_to":"9a629dbe_949f9a4f","updated":"2016-11-08 14:55:59.000000000","message":"It should work on both as I see it, but I would code it differently:\n\n if isinstance(content, six.binary_type):\n     ...\n else:\n     ...","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"},{"author":{"_account_id":18062,"name":"Maxime Belanger","email":"mbelanger@internap.com","username":"mbelanger"},"change_message_id":"46ba72e1d10b154a31d2cfe512f416fe22550bb0","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                         raw\u003draw,"},{"line_number":118,"context_line":"                         reason\u003d\u0027\u0027,"},{"line_number":119,"context_line":"                         encoding\u003d\u0027UTF-8\u0027)"},{"line_number":120,"context_line":"    if type(content) is bytes:"},{"line_number":121,"context_line":"        response.text \u003d content.decode(\"utf-8\")"},{"line_number":122,"context_line":"    else:"},{"line_number":123,"context_line":"        response.text \u003d content"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a629dbe_94731ae7","line":120,"in_reply_to":"9a629dbe_949f9a4f","updated":"2016-11-08 14:53:18.000000000","message":"No it is only if the content passed to the mock is byte, then convert it to plain text since we only manage plain text now.","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"}],"releasenotes/notes/fix-python3-compatibility-993ace45fefcba34.yaml":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"40598ca0a74df42e0fda5f0ed26c79dfb7619802","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue when getting HTTP error from a python3 enviromnent"},{"line_number":4,"context_line":"    this was raising a TypeError due to the requests lib that return"},{"line_number":5,"context_line":"    bytes instead of string"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"9a629dbe_4e02d370","line":5,"updated":"2016-11-08 14:18:27.000000000","message":"super nit: . (period)","commit_id":"ad4963f81ea953439782769a752833cb7436f069"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"2b8727184e5720e385276e72ffb564406df98f9b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue when getting HTTP error from a python3 enviromnent"},{"line_number":4,"context_line":"    this was raising a TypeError due to the requests lib that return"},{"line_number":5,"context_line":"    bytes instead of string."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9a629dbe_7e7d801b","line":3,"updated":"2016-11-08 15:41:32.000000000","message":"nit s/enviromnent/environment/","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"},{"author":{"_account_id":18062,"name":"Maxime Belanger","email":"mbelanger@internap.com","username":"mbelanger"},"change_message_id":"c6e25fa6eefaaa0522450b1a2a7a87c128aa96e6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue when getting HTTP error from a python3 enviromnent"},{"line_number":4,"context_line":"    this was raising a TypeError due to the requests lib that return"},{"line_number":5,"context_line":"    bytes instead of string."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9a629dbe_77f763f5","line":3,"in_reply_to":"9a629dbe_7e7d801b","updated":"2016-11-08 16:09:48.000000000","message":"Done","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"2b8727184e5720e385276e72ffb564406df98f9b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":12,"id":"9a629dbe_dea68c52","line":6,"updated":"2016-11-08 15:41:32.000000000","message":"How about\n\nFixes an issue in a python 3 environment, where a bad token was causing a TypeError to be raised. It now raises a Forbidden exception.","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"},{"author":{"_account_id":18062,"name":"Maxime Belanger","email":"mbelanger@internap.com","username":"mbelanger"},"change_message_id":"c6e25fa6eefaaa0522450b1a2a7a87c128aa96e6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":12,"id":"9a629dbe_3786cb65","line":6,"in_reply_to":"9a629dbe_dea68c52","updated":"2016-11-08 16:09:48.000000000","message":"It is true but all errors will return TypeError instead of Forbidden exception. e.g. Lets say I try to do a get on non existent Ironic node, I will still get TypeError instead of NotFound exception.","commit_id":"6cce0c1382b66a2f7614d6dc3150ee4212781774"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5fc34442f7254d2ac5818f2b0ea764577cb1c977","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue when getting HTTP error from a python3 environment"},{"line_number":4,"context_line":"    this was raising a TypeError due to the requests lib that return"},{"line_number":5,"context_line":"    bytes instead of string."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9a629dbe_b20f492d","line":5,"updated":"2016-11-08 16:28:42.000000000","message":"Oh, sorry, I thought it was just the bad token problem (based on the commit message and the bug report).  How about\n\nFixes an issue in a python 3 environment, where TypeError exceptions were being raised (due to the \"requests\" library returning bytes instead of a string). More appropriate exceptions are now raised.","commit_id":"a97640efe24d8677c4b04bc6295e4fafc4cba525"},{"author":{"_account_id":18062,"name":"Maxime Belanger","email":"mbelanger@internap.com","username":"mbelanger"},"change_message_id":"ca26f5c55a26f68bae3b07550cf0b4aa19a23312","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue when getting HTTP error from a python3 environment"},{"line_number":4,"context_line":"    this was raising a TypeError due to the requests lib that return"},{"line_number":5,"context_line":"    bytes instead of string."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9a629dbe_d2bafd22","line":5,"in_reply_to":"9a629dbe_b20f492d","updated":"2016-11-08 16:30:49.000000000","message":"Done","commit_id":"a97640efe24d8677c4b04bc6295e4fafc4cba525"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ef5065154f390107baa646486d79e2b467e2599a","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes an issue in a python 3 environment, where TypeError"},{"line_number":4,"context_line":"    exceptions were being raised (due to the \"requests\""},{"line_number":5,"context_line":"    library returning bytes instead of a string)."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"9a629dbe_f268e189","line":5,"updated":"2016-11-08 16:33:37.000000000","message":"I would have liked \u0027More appropriate exceptions are now being raised\u0027. but maybe what is there is good enough.\n\n(I always like to know what the behaviour was when broken, and what the fixed behaviour is.)","commit_id":"e512550ab7d61b8bdafd50022dfa8b80a8502922"}],"requirements.txt":[{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"8f21ed0dbbb80683b8133c020e2d526ec1103c99","unresolved":false,"context_lines":[{"line_number":8,"context_line":"keystoneauth1\u003e\u003d2.10.0 # Apache-2.0"},{"line_number":9,"context_line":"osc-lib\u003e\u003d1.0.2 # Apache-2.0"},{"line_number":10,"context_line":"oslo.i18n\u003e\u003d2.1.0 # Apache-2.0"},{"line_number":11,"context_line":"oslo.serialization\u003d\u003d2.13.0 # Apache-2.0"},{"line_number":12,"context_line":"oslo.utils\u003e\u003d3.16.0 # Apache-2.0"},{"line_number":13,"context_line":"PrettyTable\u003c0.8,\u003e\u003d0.7 # BSD"},{"line_number":14,"context_line":"python-openstackclient\u003e\u003d2.1.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":5,"id":"3a98d1f4_3a1071a8","line":11,"updated":"2016-09-29 12:23:26.000000000","message":"This should read \"oslo.serialization\u003e\u003d1.10.0              # Apache-2.0\"\n\nYou should not commit the entry from upper-constraints but from global-requirements.txt (https://github.com/openstack/requirements/blob/master/global-requirements.txt)","commit_id":"91223b7129412868d54cb604a9ad217b338a1b36"}]}
