)]}'
{"ironic/api/hooks.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"687ad47d72beaedc349e04e1445cb32cb0af577a","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    Checks whether the request context is an admin context and"},{"line_number":104,"context_line":"    rejects the request otherwise."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    \"\"\""},{"line_number":107,"context_line":"    def before(self, state):"},{"line_number":108,"context_line":"        ctx \u003d state.request.context"},{"line_number":109,"context_line":"        is_admin_api \u003d policy.check(\u0027admin_api\u0027, {}, ctx.to_dict())"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2BGOM%3D","line":106,"updated":"2013-12-02 16:07:16.000000000","message":"e.g ^","commit_id":"f46a60a68e738a5add377f263b19e8b597776542"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"687ad47d72beaedc349e04e1445cb32cb0af577a","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    deserialize_remote_exception builds rpc exception traceback into error"},{"line_number":119,"context_line":"    message which is then sent to the client. Such behavior is a security"},{"line_number":120,"context_line":"    concern so this hook is aimed to cut-off traceback from the error message."},{"line_number":121,"context_line":"    \"\"\""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    # NOTE(max_lobur): \u0027after\u0027 hook used instead of \u0027on_error\u0027 because"},{"line_number":124,"context_line":"    # \u0027on_error\u0027 never fired for wsme+pecan pair. wsme @wsexpose decorator"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2BGRc%3D","line":121,"updated":"2013-12-02 16:07:16.000000000","message":"Multiline docstring should end with 1 blank line[1], It\u0027s a tiny nit buddy but as this patch is _all_ about conforming to pep257 then I think we should fix it.\n\nhttp://www.python.org/dev/peps/pep-0257/#multi-line-docstrings","commit_id":"f46a60a68e738a5add377f263b19e8b597776542"},{"author":{"_account_id":8968,"name":"Max Lobur","email":"max_lobur@outlook.com","username":"max_lobur"},"change_message_id":"b2b2374c8809a3a9a216cca64779d828d9a46a03","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    deserialize_remote_exception builds rpc exception traceback into error"},{"line_number":119,"context_line":"    message which is then sent to the client. Such behavior is a security"},{"line_number":120,"context_line":"    concern so this hook is aimed to cut-off traceback from the error message."},{"line_number":121,"context_line":"    \"\"\""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    # NOTE(max_lobur): \u0027after\u0027 hook used instead of \u0027on_error\u0027 because"},{"line_number":124,"context_line":"    # \u0027on_error\u0027 never fired for wsme+pecan pair. wsme @wsexpose decorator"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2BFnw%3D","line":121,"in_reply_to":"AAAATn%2F%2BGRc%3D","updated":"2013-12-02 17:34:14.000000000","message":"True. Sorry, I should have noticed this the first time. Will fix :)","commit_id":"f46a60a68e738a5add377f263b19e8b597776542"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"687ad47d72beaedc349e04e1445cb32cb0af577a","unresolved":false,"context_lines":[{"line_number":119,"context_line":"    message which is then sent to the client. Such behavior is a security"},{"line_number":120,"context_line":"    concern so this hook is aimed to cut-off traceback from the error message."},{"line_number":121,"context_line":"    \"\"\""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    # NOTE(max_lobur): \u0027after\u0027 hook used instead of \u0027on_error\u0027 because"},{"line_number":124,"context_line":"    # \u0027on_error\u0027 never fired for wsme+pecan pair. wsme @wsexpose decorator"},{"line_number":125,"context_line":"    # catches and handles all the errors, so \u0027on_error\u0027 dedicated for unhandled"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2BGPM%3D","line":122,"updated":"2013-12-02 16:07:16.000000000","message":"Also you can delete this blank line here","commit_id":"f46a60a68e738a5add377f263b19e8b597776542"},{"author":{"_account_id":8968,"name":"Max Lobur","email":"max_lobur@outlook.com","username":"max_lobur"},"change_message_id":"b2b2374c8809a3a9a216cca64779d828d9a46a03","unresolved":false,"context_lines":[{"line_number":119,"context_line":"    message which is then sent to the client. Such behavior is a security"},{"line_number":120,"context_line":"    concern so this hook is aimed to cut-off traceback from the error message."},{"line_number":121,"context_line":"    \"\"\""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    # NOTE(max_lobur): \u0027after\u0027 hook used instead of \u0027on_error\u0027 because"},{"line_number":124,"context_line":"    # \u0027on_error\u0027 never fired for wsme+pecan pair. wsme @wsexpose decorator"},{"line_number":125,"context_line":"    # catches and handles all the errors, so \u0027on_error\u0027 dedicated for unhandled"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2BFnk%3D","line":122,"in_reply_to":"AAAATn%2F%2BGPM%3D","updated":"2013-12-02 17:34:14.000000000","message":"Done","commit_id":"f46a60a68e738a5add377f263b19e8b597776542"}]}
