)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6676,"name":"zqfan","email":"aji.zqfan@gmail.com","username":"aji-zqfan"},"change_message_id":"44e1bfbd9bdf6c5f8963ead46a20939459f18cb4","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     KIYOHIRO ADACHI \u003cadachi@mxs.nes.nec.co.jp\u003e"},{"line_number":5,"context_line":"CommitDate: 2013-12-26 16:09:01 +0900"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fixed the invalid argument of webob.exc.HTTPBadRequest"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"webob.exc.HTTPBadRequest() does not have a parameter \u0027reason\u0027."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"AAAAT3%2F%2F9lI%3D","line":7,"updated":"2013-12-26 08:25:17.000000000","message":"Optional nit: Fix is OK, no need to use fixed","commit_id":"dde04eaa140ff41ca70527901ce00764be5472e1"},{"author":{"_account_id":7236,"name":"Kiyohiro Adachi","email":"kiy-adachi@vx.jp.nec.com","username":"kadachi"},"change_message_id":"583d843ed57830f9b1151c4279293a0bf6a547e7","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     KIYOHIRO ADACHI \u003cadachi@mxs.nes.nec.co.jp\u003e"},{"line_number":5,"context_line":"CommitDate: 2013-12-26 16:09:01 +0900"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fixed the invalid argument of webob.exc.HTTPBadRequest"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"webob.exc.HTTPBadRequest() does not have a parameter \u0027reason\u0027."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"AAAAT3%2F%2F9Uo%3D","line":7,"in_reply_to":"AAAAT3%2F%2F9lI%3D","updated":"2013-12-26 10:11:08.000000000","message":"I understand. Thanks.","commit_id":"dde04eaa140ff41ca70527901ce00764be5472e1"}],"cinder/api/contrib/scheduler_hints.py":[{"author":{"_account_id":6348,"name":"xu-haiwei","email":"hai-xu@xr.jp.nec.com","username":"xu-haiwei"},"change_message_id":"e4ee4d23d8478c70dfce11fd084ba625f6e80ea3","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                hints.update(body[attr])"},{"line_number":37,"context_line":"        except ValueError:"},{"line_number":38,"context_line":"            msg \u003d _(\"Malformed scheduler_hints attribute\")"},{"line_number":39,"context_line":"            raise webob.exc.HTTPBadRequest(detail\u003dmsg)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        return hints"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2F9sc%3D","line":39,"updated":"2013-12-26 07:28:20.000000000","message":"Why don\u0027t you use explanation\u003dmsg ?","commit_id":"dde04eaa140ff41ca70527901ce00764be5472e1"},{"author":{"_account_id":6676,"name":"zqfan","email":"aji.zqfan@gmail.com","username":"aji-zqfan"},"change_message_id":"0000949b086511919309f31a56b29568b1e25369","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                hints.update(body[attr])"},{"line_number":37,"context_line":"        except ValueError:"},{"line_number":38,"context_line":"            msg \u003d _(\"Malformed scheduler_hints attribute\")"},{"line_number":39,"context_line":"            raise webob.exc.HTTPBadRequest(detail\u003dmsg)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        return hints"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2F844%3D","line":39,"in_reply_to":"AAAAT3%2F%2F9T8%3D","updated":"2013-12-26 12:51:30.000000000","message":"I test this in nova project, it seems only specify msg to explanation will generate response body message to msg, set to detail or just directly use it will get default HTTPBadRequest default message instead of msg.\n\nPlease check this in your environment, or is there anybody good at this field can clarify about this?\n\nSo I recommend to use explanation\u003dmsg style.","commit_id":"dde04eaa140ff41ca70527901ce00764be5472e1"},{"author":{"_account_id":7236,"name":"Kiyohiro Adachi","email":"kiy-adachi@vx.jp.nec.com","username":"kadachi"},"change_message_id":"583d843ed57830f9b1151c4279293a0bf6a547e7","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                hints.update(body[attr])"},{"line_number":37,"context_line":"        except ValueError:"},{"line_number":38,"context_line":"            msg \u003d _(\"Malformed scheduler_hints attribute\")"},{"line_number":39,"context_line":"            raise webob.exc.HTTPBadRequest(detail\u003dmsg)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        return hints"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2F9T8%3D","line":39,"in_reply_to":"AAAAT3%2F%2F9lQ%3D","updated":"2013-12-26 10:11:08.000000000","message":"I put the \u0027detail \u003d\u0027 intentionally, but to dismiss it because do not use elsewhere. Thanks.","commit_id":"dde04eaa140ff41ca70527901ce00764be5472e1"},{"author":{"_account_id":6348,"name":"xu-haiwei","email":"hai-xu@xr.jp.nec.com","username":"xu-haiwei"},"change_message_id":"ffa579d86a4b0797a3bc01329821239bef79472e","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                hints.update(body[attr])"},{"line_number":37,"context_line":"        except ValueError:"},{"line_number":38,"context_line":"            msg \u003d _(\"Malformed scheduler_hints attribute\")"},{"line_number":39,"context_line":"            raise webob.exc.HTTPBadRequest(detail\u003dmsg)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        return hints"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2F9d4%3D","line":39,"in_reply_to":"AAAAT3%2F%2F9lQ%3D","updated":"2013-12-26 09:21:53.000000000","message":"ZhiQiang Fan\n\nThank you for your explanation.\nI am not sure whether the source your have found is from the wrong place or not, but found this:\n\nhttps://bitbucket.org/ianb/webob/src/9e6157f6e5df/webob/exc.py#cl-605\n\nI also found the same source in /usr/local/lib/python2.7/dist-packages/webob/exc.py:623\n\n 621     code \u003d 400\n 622     title \u003d \u0027Bad Request\u0027\n 623     explanation \u003d (\u0027The server could not comply with the request since\\r\\n\u0027\n 624                    \u0027it is either malformed or otherwise incorrect.\\r\\n\u0027)","commit_id":"dde04eaa140ff41ca70527901ce00764be5472e1"},{"author":{"_account_id":6676,"name":"zqfan","email":"aji.zqfan@gmail.com","username":"aji-zqfan"},"change_message_id":"44e1bfbd9bdf6c5f8963ead46a20939459f18cb4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                hints.update(body[attr])"},{"line_number":37,"context_line":"        except ValueError:"},{"line_number":38,"context_line":"            msg \u003d _(\"Malformed scheduler_hints attribute\")"},{"line_number":39,"context_line":"            raise webob.exc.HTTPBadRequest(detail\u003dmsg)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        return hints"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2F9lQ%3D","line":39,"in_reply_to":"AAAAT3%2F%2F9sc%3D","updated":"2013-12-26 08:25:17.000000000","message":"@xu-haiwei\n\nhttps://github.com/Pylons/webob/blob/master/webob/exc.py#L276 (is this the right place?)\n\n    def __str__(self):\n        return self.detail or self.explanation\n\nActually, since detail is the first parameter, it is OK to remove \u0027detail\u003d\u0027\n\nHowever, this explicit statement is OK too.","commit_id":"dde04eaa140ff41ca70527901ce00764be5472e1"},{"author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"change_message_id":"0fd1d24a529d414cf976d79dbbfe66009b81dc6e","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                hints.update(body[attr])"},{"line_number":37,"context_line":"        except ValueError:"},{"line_number":38,"context_line":"            msg \u003d _(\"Malformed scheduler_hints attribute\")"},{"line_number":39,"context_line":"            raise webob.exc.HTTPBadRequest(msg)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        return hints"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAT3%2F%2F8sU%3D","line":39,"updated":"2013-12-26 14:10:21.000000000","message":"Suggest use (explanation\u003dmsg)","commit_id":"1f20f8084e73b636a7cdc7356184d19fddcb17eb"},{"author":{"_account_id":7236,"name":"Kiyohiro Adachi","email":"kiy-adachi@vx.jp.nec.com","username":"kadachi"},"change_message_id":"74228a3981813da91dfcda2c5d563fd1ae8b4b3d","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                hints.update(body[attr])"},{"line_number":37,"context_line":"        except ValueError:"},{"line_number":38,"context_line":"            msg \u003d _(\"Malformed scheduler_hints attribute\")"},{"line_number":39,"context_line":"            raise webob.exc.HTTPBadRequest(msg)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        return hints"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAT3%2F%2F7W0%3D","line":39,"in_reply_to":"AAAAT3%2F%2F8sU%3D","updated":"2013-12-27 01:04:40.000000000","message":"I will check again the effect. Thanks!","commit_id":"1f20f8084e73b636a7cdc7356184d19fddcb17eb"}]}
