)]}'
{"ironic/conductor/task_manager.py":[{"author":{"_account_id":3099,"name":"David Shrewsbury","email":"dshrewsb@redhat.com","username":"dshrews"},"change_message_id":"6ddd219309e5b2baf08066867bd23d6e55a93c07","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                         utils.node_power_action, task, new_state)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"All exceptions that occur in the current greenthread as part of the"},{"line_number":77,"context_line":"spawn handling are re-raised. In cases where it\u0027s eg ugly to handle"},{"line_number":78,"context_line":"the re-raised exception by wrapping the \"with task_manager.acquire()\""},{"line_number":79,"context_line":"with a try..exception block, the TaskManager instance allows you to"},{"line_number":80,"context_line":"set a hook to execute custom code when an exception occurs while spawning"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_30f127ce","line":77,"updated":"2015-01-21 15:13:57.000000000","message":"\"eg\"? Normally would make this a nit, but since the purpose is to modify the doc strings, will have to promote it a bit.","commit_id":"5454f3c55f9e5b5727e2ed1c14309c41a98821de"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"64046189d29ca7efa2c852ec5f8ce1d9cb6003f4","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                         utils.node_power_action, task, new_state)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"All exceptions that occur in the current greenthread as part of the"},{"line_number":77,"context_line":"spawn handling are re-raised. In cases where it\u0027s eg ugly to handle"},{"line_number":78,"context_line":"the re-raised exception by wrapping the \"with task_manager.acquire()\""},{"line_number":79,"context_line":"with a try..exception block, the TaskManager instance allows you to"},{"line_number":80,"context_line":"set a hook to execute custom code when an exception occurs while spawning"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_6b31020b","line":77,"in_reply_to":"1a930d6b_30f127ce","updated":"2015-01-21 15:43:48.000000000","message":"Oh, yes, people might not know that I used \u0027eg\u0027 for \u0027for example\u0027. I\u0027ll write it out.","commit_id":"5454f3c55f9e5b5727e2ed1c14309c41a98821de"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"12a84a25dc6ea53573b3fa6936e21c1e322abefb","unresolved":false,"context_lines":[{"line_number":78,"context_line":"code when such exceptions occur. For example, the hook is a more elegant"},{"line_number":79,"context_line":"solution than wrapping the \"with task_manager.acquire()\" with a"},{"line_number":80,"context_line":"try..exception block. (Note that this hook does not handle exceptions"},{"line_number":81,"context_line":"raised in the background thread.):"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"::"},{"line_number":84,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_52ff9634","line":81,"updated":"2015-01-21 16:15:04.000000000","message":"looks much clearer!","commit_id":"7a06378472c84b396950bb42e212c4d30878c35a"}]}
