)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"bfa8784fadb35da4e83ef28d32c6a1e431543a0d","unresolved":false,"context_lines":[{"line_number":10,"context_line":"\u0027six.add_metaclass\u0027, \u0027six.iteritems\u0027 and \u0027six.iterkeys\u0027 can"},{"line_number":11,"context_line":"be replaced by \u0027items\u0027 and \u0027keys\u0027, \u0027six.moves.urllib.parse\u0027"},{"line_number":12,"context_line":"can be replaced by \u0027urllib.parse\u0027, \u0027six.StringIO\u0027 and"},{"line_number":13,"context_line":"\u0027six.moves.cStringIO\u0027 can be replaced by \u0027io.StringIO\u0027,"},{"line_number":14,"context_line":"\u0027six.text_type\u0027 and \u0027six.string_type\u0027 are just \u0027str\u0027."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I0c7691b3d6f6315137d8f0b9eeaa3b8e76749c04"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9f560f44_6040ada3","line":13,"updated":"2020-10-07 02:02:34.000000000","message":"You should format this, such as bellow:\n\nReplace the following items with Python 3 style code.\n\n- six.iteritems\n- six.StringIO\n- six.moves\n- six.add_metaclass\n- ...","commit_id":"ef856e5ba99e94412a6303273fb893129f7c5e2e"}],"cyborg/accelerator/common/exception.py":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"bfa8784fadb35da4e83ef28d32c6a1e431543a0d","unresolved":false,"context_lines":[{"line_number":79,"context_line":"    a \u0027_msg_fmt\u0027 property. That message will get printf\u0027d"},{"line_number":80,"context_line":"    with the keyword arguments provided to the constructor."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    If you need to access the message from an exception you should use"},{"line_number":83,"context_line":"    six.text_type(exc)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_a07805f7","side":"PARENT","line":82,"updated":"2020-10-07 02:02:34.000000000","message":"This is just a guide for developers, maybe we should format this words for, instead of removing it:\n \nIf you need to access the message from an exception you should use str(exc).","commit_id":"665abe1f00b0a39fac5b9fdc4ef1f749c3d62db3"},{"author":{"_account_id":31412,"name":"Wenping Song","email":"songwenping@inspur.com","username":"songwenping"},"change_message_id":"f352f3760e56a70c548eb10ae61f181c8eab7610","unresolved":false,"context_lines":[{"line_number":79,"context_line":"    a \u0027_msg_fmt\u0027 property. That message will get printf\u0027d"},{"line_number":80,"context_line":"    with the keyword arguments provided to the constructor."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    If you need to access the message from an exception you should use"},{"line_number":83,"context_line":"    six.text_type(exc)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_2057d529","side":"PARENT","line":82,"in_reply_to":"9f560f44_a07805f7","updated":"2020-10-07 02:49:39.000000000","message":"yeah, right.","commit_id":"665abe1f00b0a39fac5b9fdc4ef1f749c3d62db3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"58154a3580ba34524e08c64a18474012f4adc990","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    a \u0027_msg_fmt\u0027 property. That message will get printf\u0027d"},{"line_number":79,"context_line":"    with the keyword arguments provided to the constructor."},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    If you need to access the message from an exception you should use str(exc)."},{"line_number":82,"context_line":"    \"\"\""},{"line_number":83,"context_line":"    _msg_fmt \u003d _(\"An unknown exception occurred.\")"},{"line_number":84,"context_line":"    code \u003d http_client.INTERNAL_SERVER_ERROR"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_5b96384b","line":81,"updated":"2020-10-07 03:22:56.000000000","message":"pep8: E501 line too long (80 \u003e 79 characters)","commit_id":"49a4dc261fac2470eaa2bedd0460147ba27ab8f5"}],"cyborg/api/middleware/parsable_error.py":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"bfa8784fadb35da4e83ef28d32c6a1e431543a0d","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        if (state[\u0027status_code\u0027] // 100) not in (2, 3):"},{"line_number":61,"context_line":"            app_iter \u003d [i.decode(\u0027utf-8\u0027) for i in app_iter]"},{"line_number":62,"context_line":"            body \u003d [jsonutils.dumps({\u0027error_message\u0027: \u0027\\n\u0027.join(app_iter)})]"},{"line_number":63,"context_line":"            body \u003d [i.encode(\u0027utf-8\u0027) for i in body]"},{"line_number":64,"context_line":"            state[\u0027headers\u0027].append((\u0027Content-Type\u0027, \u0027application/json\u0027))"},{"line_number":65,"context_line":"            state[\u0027headers\u0027].append((\u0027Content-Length\u0027, str(len(body[0]))))"},{"line_number":66,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_4024890e","line":63,"updated":"2020-10-07 02:02:34.000000000","message":"Looks the line63 do the same thing as line61, IMO, we can delete the line63, right?","commit_id":"ef856e5ba99e94412a6303273fb893129f7c5e2e"},{"author":{"_account_id":31412,"name":"Wenping Song","email":"songwenping@inspur.com","username":"songwenping"},"change_message_id":"f352f3760e56a70c548eb10ae61f181c8eab7610","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        if (state[\u0027status_code\u0027] // 100) not in (2, 3):"},{"line_number":61,"context_line":"            app_iter \u003d [i.decode(\u0027utf-8\u0027) for i in app_iter]"},{"line_number":62,"context_line":"            body \u003d [jsonutils.dumps({\u0027error_message\u0027: \u0027\\n\u0027.join(app_iter)})]"},{"line_number":63,"context_line":"            body \u003d [i.encode(\u0027utf-8\u0027) for i in body]"},{"line_number":64,"context_line":"            state[\u0027headers\u0027].append((\u0027Content-Type\u0027, \u0027application/json\u0027))"},{"line_number":65,"context_line":"            state[\u0027headers\u0027].append((\u0027Content-Length\u0027, str(len(body[0]))))"},{"line_number":66,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_e045dd70","line":63,"in_reply_to":"9f560f44_4024890e","updated":"2020-10-07 02:49:39.000000000","message":"L61 is transform byte to str, here is transform str to byte. it\u0027s not same.","commit_id":"ef856e5ba99e94412a6303273fb893129f7c5e2e"}],"cyborg/common/exception.py":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"bfa8784fadb35da4e83ef28d32c6a1e431543a0d","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    with the keyword arguments provided to the constructor."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    If you need to access the message from an exception you should use"},{"line_number":41,"context_line":"    six.text_type(exc)"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    \"\"\""},{"line_number":44,"context_line":"    _msg_fmt \u003d _(\"An unknown exception occurred.\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_0080d1be","side":"PARENT","line":41,"updated":"2020-10-07 02:02:34.000000000","message":"ditto","commit_id":"665abe1f00b0a39fac5b9fdc4ef1f749c3d62db3"},{"author":{"_account_id":31412,"name":"Wenping Song","email":"songwenping@inspur.com","username":"songwenping"},"change_message_id":"f352f3760e56a70c548eb10ae61f181c8eab7610","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    with the keyword arguments provided to the constructor."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    If you need to access the message from an exception you should use"},{"line_number":41,"context_line":"    six.text_type(exc)"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    \"\"\""},{"line_number":44,"context_line":"    _msg_fmt \u003d _(\"An unknown exception occurred.\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_402129b5","side":"PARENT","line":41,"in_reply_to":"9f560f44_0080d1be","updated":"2020-10-07 02:49:39.000000000","message":"Done","commit_id":"665abe1f00b0a39fac5b9fdc4ef1f749c3d62db3"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"58154a3580ba34524e08c64a18474012f4adc990","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    a \u0027_msg_fmt\u0027 property. That message will get printf\u0027d"},{"line_number":37,"context_line":"    with the keyword arguments provided to the constructor."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    If you need to access the message from an exception you should use str(exc)."},{"line_number":40,"context_line":"    \"\"\""},{"line_number":41,"context_line":"    _msg_fmt \u003d _(\"An unknown exception occurred.\")"},{"line_number":42,"context_line":"    code \u003d http_client.INTERNAL_SERVER_ERROR"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_7b9b3c72","line":39,"updated":"2020-10-07 03:22:56.000000000","message":"pep8: E501 line too long (80 \u003e 79 characters)","commit_id":"49a4dc261fac2470eaa2bedd0460147ba27ab8f5"}]}
