)]}'
{"keystone/common/wsgi.py":[{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"81c5a24af36f25e6333e39cf790480feccb2eee9","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        code \u003d None"},{"line_number":248,"context_line":"        if req.path.startswith(\u0027/v3/\u0027):"},{"line_number":249,"context_line":"            if req_method \u003d\u003d \u0027POST\u0027 or (req_method \u003d\u003d \u0027PUT\u0027 and"},{"line_number":250,"context_line":"                                        action \u003d\u003d \u0027create_grant\u0027):"},{"line_number":251,"context_line":"                code \u003d (201, \u0027Created\u0027)"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"        if result is None and code is None:"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAN3%2F%2F6FA%3D","line":250,"updated":"2013-03-06 22:28:56.000000000","message":"there has got to be a better way to do this.","commit_id":"dad37b1a2a96fafe0d42687305574fec1bd66705"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"6873a0e64ff3454a0ec9eb3b7e75896af51a1615","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        code \u003d None"},{"line_number":248,"context_line":"        if req.path.startswith(\u0027/v3/\u0027):"},{"line_number":249,"context_line":"            if req_method \u003d\u003d \u0027POST\u0027 or (req_method \u003d\u003d \u0027PUT\u0027 and"},{"line_number":250,"context_line":"                                        action \u003d\u003d \u0027create_grant\u0027):"},{"line_number":251,"context_line":"                code \u003d (201, \u0027Created\u0027)"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"        if result is None and code is None:"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAN3%2F%2F5m8%3D","line":250,"in_reply_to":"AAAAN3%2F%2F6FA%3D","updated":"2013-03-07 03:49:22.000000000","message":"which part or are you just referencing all of it?  i could get rid of the /v3/ hardcoded text using:\n\n        from keystone.common import controller\n        if isinstance(self, controller.V3Controller):\n\nbut to be honest, i\u0027m not sure if i\u0027m allowed to put the import there. probably a better solution out there, been staring at this too long.","commit_id":"dad37b1a2a96fafe0d42687305574fec1bd66705"},{"author":{"_account_id":1916,"name":"Guang Yee","email":"gyee@suse.com","username":"guang-yee"},"change_message_id":"3a8167f985358e3c85efa7c327842abefaadfc91","unresolved":false,"context_lines":[{"line_number":250,"context_line":"        if isinstance(self, controller.V3Controller):"},{"line_number":251,"context_line":"            if req_method \u003d\u003d \u0027POST\u0027 or (req_method \u003d\u003d \u0027PUT\u0027 and"},{"line_number":252,"context_line":"                                        action \u003d\u003d \u0027create_grant\u0027):"},{"line_number":253,"context_line":"                code \u003d (201, \u0027Created\u0027)"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"        if result is None and code is None:"},{"line_number":256,"context_line":"            return render_response(status\u003d(204, \u0027No Content\u0027))"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAN3%2F%2F41w%3D","line":253,"updated":"2013-03-07 16:29:49.000000000","message":"May want to consider re-factoring this code out to a different function so its easier to follow.","commit_id":"c1d4511d8079228ce5c430405f18443a42d8ce66"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"7c9167a4ac0ab1b24a030087aa873d0f27a79f27","unresolved":false,"context_lines":[{"line_number":250,"context_line":"        if isinstance(self, controller.V3Controller):"},{"line_number":251,"context_line":"            if req_method \u003d\u003d \u0027POST\u0027 or (req_method \u003d\u003d \u0027PUT\u0027 and"},{"line_number":252,"context_line":"                                        action \u003d\u003d \u0027create_grant\u0027):"},{"line_number":253,"context_line":"                code \u003d (201, \u0027Created\u0027)"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"        if result is None and code is None:"},{"line_number":256,"context_line":"            return render_response(status\u003d(204, \u0027No Content\u0027))"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAN3%2F%2F4sw%3D","line":253,"in_reply_to":"AAAAN3%2F%2F41w%3D","updated":"2013-03-07 16:50:19.000000000","message":"the code in patchset 1 is much simpler, and I think that\u0027ll be closer to the final result here (sorry again, gordon!)","commit_id":"c1d4511d8079228ce5c430405f18443a42d8ce66"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"d5d990a593638ae9623f3e5034721ac35b947b9e","unresolved":false,"context_lines":[{"line_number":250,"context_line":"        if isinstance(self, controller.V3Controller):"},{"line_number":251,"context_line":"            if req_method \u003d\u003d \u0027POST\u0027 or (req_method \u003d\u003d \u0027PUT\u0027 and"},{"line_number":252,"context_line":"                                        action \u003d\u003d \u0027create_grant\u0027):"},{"line_number":253,"context_line":"                code \u003d (201, \u0027Created\u0027)"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"        if result is None and code is None:"},{"line_number":256,"context_line":"            return render_response(status\u003d(204, \u0027No Content\u0027))"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAN3%2F%2F4is%3D","line":253,"in_reply_to":"AAAAN3%2F%2F4sw%3D","updated":"2013-03-07 17:52:57.000000000","message":"no problem Dolph. i definitely needed to think about it more than i did originally ie.support only v3.  i\u0027ve moved the code to its own function similar to \nparams \u003d self._normalize_dict(params) above","commit_id":"c1d4511d8079228ce5c430405f18443a42d8ce66"}]}
