)]}'
{"nova/api/openstack/compute/plugins/v3/consoles.py":[{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"a3d9b6daf757a6f2650922e119238a226871cc5c","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                                        int(id))"},{"line_number":118,"context_line":"        except exception.ConsoleNotFoundForInstance as e:"},{"line_number":119,"context_line":"            raise exc.HTTPNotFound(explanation\u003de.format_message())"},{"line_number":120,"context_line":"        except exception.ConsoleNotFound as e:"},{"line_number":121,"context_line":"            raise exc.HTTPNotFound(explanation\u003de.format_message())"},{"line_number":122,"context_line":"        return _translate_detail_keys(console)"},{"line_number":123,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAQn%2F%2FO3U%3D","line":120,"updated":"2013-08-05 03:46:36.000000000","message":"I think if you just catch ConsoleNotFound rather than both it will still work the same?","commit_id":"42471aa0ef0cf2cac8eceb5f29805ea29b2b8296"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"2543fbf53c4d837c87f7b3cb93400ac5285f714c","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                                        int(id))"},{"line_number":118,"context_line":"        except exception.ConsoleNotFoundForInstance as e:"},{"line_number":119,"context_line":"            raise exc.HTTPNotFound(explanation\u003de.format_message())"},{"line_number":120,"context_line":"        except exception.ConsoleNotFound as e:"},{"line_number":121,"context_line":"            raise exc.HTTPNotFound(explanation\u003de.format_message())"},{"line_number":122,"context_line":"        return _translate_detail_keys(console)"},{"line_number":123,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAQn%2F%2FOek%3D","line":120,"in_reply_to":"AAAAQn%2F%2FO3U%3D","updated":"2013-08-05 06:38:23.000000000","message":"Done","commit_id":"42471aa0ef0cf2cac8eceb5f29805ea29b2b8296"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"a3d9b6daf757a6f2650922e119238a226871cc5c","unresolved":false,"context_lines":[{"line_number":130,"context_line":"                                            int(id))"},{"line_number":131,"context_line":"        except exception.ConsoleNotFoundForInstance as e:"},{"line_number":132,"context_line":"            raise exc.HTTPNotFound(explanation\u003de.format_message())"},{"line_number":133,"context_line":"        except exception.ConsoleNotFound as e:"},{"line_number":134,"context_line":"            raise exc.HTTPNotFound(explanation\u003de.format_message())"},{"line_number":135,"context_line":"        return webob.Response(status_int\u003d202)"},{"line_number":136,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAQn%2F%2FO3Q%3D","line":133,"updated":"2013-08-05 03:46:36.000000000","message":"Ditto","commit_id":"42471aa0ef0cf2cac8eceb5f29805ea29b2b8296"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"2543fbf53c4d837c87f7b3cb93400ac5285f714c","unresolved":false,"context_lines":[{"line_number":130,"context_line":"                                            int(id))"},{"line_number":131,"context_line":"        except exception.ConsoleNotFoundForInstance as e:"},{"line_number":132,"context_line":"            raise exc.HTTPNotFound(explanation\u003de.format_message())"},{"line_number":133,"context_line":"        except exception.ConsoleNotFound as e:"},{"line_number":134,"context_line":"            raise exc.HTTPNotFound(explanation\u003de.format_message())"},{"line_number":135,"context_line":"        return webob.Response(status_int\u003d202)"},{"line_number":136,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAQn%2F%2FOeg%3D","line":133,"in_reply_to":"AAAAQn%2F%2FO3Q%3D","updated":"2013-08-05 06:38:23.000000000","message":"Done","commit_id":"42471aa0ef0cf2cac8eceb5f29805ea29b2b8296"}],"nova/tests/api/openstack/compute/plugins/v3/test_consoles.py":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"457a8711537dea32998f75fa6863bb55b60f58ed","unresolved":false,"context_lines":[{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    def test_show_console_unknown_instance(self):"},{"line_number":191,"context_line":"        def fake_get_console(cons_self, context, instance_id, console_id):"},{"line_number":192,"context_line":"            raise exception.ConsoleNotFoundForInstance("},{"line_number":193,"context_line":"                instance_uuid\u003dinstance_id)"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"        self.stubs.Set(console.api.API, \u0027get_console\u0027, fake_get_console)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAQn%2F%2FXR0%3D","line":192,"updated":"2013-08-01 11:31:48.000000000","message":"Seems odd we don\u0027t get InstanceNotFound as well, but reading the code, I think you are right, we always get ConsoleNotFoundForInstance.","commit_id":"42471aa0ef0cf2cac8eceb5f29805ea29b2b8296"}]}
