)]}'
{"zun/api/controllers/v1/containers.py":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"bf6cfa89296b15fa0c04a7f22a88b1c74d287a60","unresolved":false,"context_lines":[{"line_number":163,"context_line":"        compute_api \u003d pecan.request.compute_api"},{"line_number":164,"context_line":"        try:"},{"line_number":165,"context_line":"            container \u003d compute_api.container_show(context, container)"},{"line_number":166,"context_line":"        except Exception:"},{"line_number":167,"context_line":"            raise exception.ServerNotUsable"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"        if not context.is_admin:"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f96bb07_c428c498","line":166,"range":{"start_line":166,"start_character":15,"end_line":166,"end_character":24},"updated":"2018-01-23 04:36:19.000000000","message":"It would be better to catch a more specific exception if it is possible. To fix the bug, it looks catching ContainerHostNotUp will work.","commit_id":"b8c3a7b7c0a2a99d2bbab7099663d7ae3ce24c49"}],"zun/common/exception.py":[{"author":{"_account_id":19853,"name":"Nguyen Hung Phuong","email":"phuongnh@vn.fujitsu.com","username":"phuongnh"},"change_message_id":"fa8266a5caf1543456cf3b87cacb7a53a922310a","unresolved":false,"context_lines":[{"line_number":672,"context_line":""},{"line_number":673,"context_line":"class ContainerActionEventNotFound(ZunException):"},{"line_number":674,"context_line":"    message \u003d _(\"Event %(event)s not found for action id %(action_id)s\")"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"class ServerNotUsable(ZunException):"},{"line_number":677,"context_line":"    message \u003d _(\"Zun server not usable\")"},{"line_number":678,"context_line":"    code \u003d 404"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f96bb07_82d06fcb","line":675,"updated":"2018-01-23 03:33:35.000000000","message":"please add a new blank line here.","commit_id":"724f5028bec7c04d73b59c79497b9a628a19fe1f"},{"author":{"_account_id":19853,"name":"Nguyen Hung Phuong","email":"phuongnh@vn.fujitsu.com","username":"phuongnh"},"change_message_id":"4ae6a625489d262827c2778ee8866424c0cbd2f2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"7f96bb07_44ad9499","line":680,"updated":"2018-01-23 04:09:56.000000000","message":"should remove 1 blank line here.","commit_id":"b8c3a7b7c0a2a99d2bbab7099663d7ae3ce24c49"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"aa0db33e3d5d24e314921110ba0ed577b865162a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"7f96bb07_644bf086","line":680,"in_reply_to":"7f96bb07_44ad9499","updated":"2018-01-23 04:32:20.000000000","message":"Done","commit_id":"b8c3a7b7c0a2a99d2bbab7099663d7ae3ce24c49"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"3c14fa020c3f343b9d06047b8a0755e31c16c211","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"7f96bb07_c4a52449","line":680,"in_reply_to":"7f96bb07_44ad9499","updated":"2018-01-23 04:32:00.000000000","message":"Thanks @Nguyen! My tox can not work with \"pep8\" just now.","commit_id":"b8c3a7b7c0a2a99d2bbab7099663d7ae3ce24c49"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"85912c0ee93f373634863e7a56287d4403db015d","unresolved":false,"context_lines":[{"line_number":676,"context_line":""},{"line_number":677,"context_line":"class ServerNotUsable(ZunException):"},{"line_number":678,"context_line":"    message \u003d _(\"Zun server not usable\")"},{"line_number":679,"context_line":"    code \u003d 404"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f96bb07_eec6eb49","line":679,"range":{"start_line":679,"start_character":11,"end_line":679,"end_character":14},"updated":"2018-01-23 15:33:12.000000000","message":"I am not sure if this code is prefect, but let\u0027s revisit this later.","commit_id":"ad3f5e7d91958f84a8a79ff07d20cbfb6bee1042"}]}
