)]}'
{"manila/share/drivers/service_instance.py":[{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"434973a2ce4498991d3d02481a8f46df48373c65","unresolved":false,"context_lines":[{"line_number":682,"context_line":"                    if e.kwargs.get(\u0027code\u0027) !\u003d 404:"},{"line_number":683,"context_line":"                        raise"},{"line_number":684,"context_line":"                    LOG.debug(\"Failed to delete port %(port_id)s with error: \""},{"line_number":685,"context_line":"                              \"\\n %(exc)s\" % {\"port_id\": port_id, \"exc\": e})"},{"line_number":686,"context_line":""},{"line_number":687,"context_line":"        if router_id and subnet_id:"},{"line_number":688,"context_line":"            ports \u003d self.neutron_api.list_ports("}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_671176ac","line":685,"updated":"2015-05-15 04:44:49.000000000","message":"e should be wrapped in six.text_type().  Also this should use \",\" instead of \"%\".\n\nAlso I wonder if it is necessary to log this exception in a debug message. We already know the error code is 404.","commit_id":"cc8f2095fe413946f97d8228c7339b583cca1e41"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"5a927bc66a0450b103fad6e0626661f178be90d8","unresolved":false,"context_lines":[{"line_number":682,"context_line":"                    if e.kwargs.get(\u0027code\u0027) !\u003d 404:"},{"line_number":683,"context_line":"                        raise"},{"line_number":684,"context_line":"                    LOG.debug(\"Failed to delete port %(port_id)s with error: \""},{"line_number":685,"context_line":"                              \"\\n %(exc)s\" % {\"port_id\": port_id, \"exc\": e})"},{"line_number":686,"context_line":""},{"line_number":687,"context_line":"        if router_id and subnet_id:"},{"line_number":688,"context_line":"            ports \u003d self.neutron_api.list_ports("}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_f876243d","line":685,"in_reply_to":"7a016987_671176ac","updated":"2015-05-15 09:23:57.000000000","message":"1) There is no need to use \"six.text_type\", oslo_log does it for us. See: https://github.com/openstack/oslo.log/blob/64727772/oslo_log/log.py#L121\n\n2) Replaced \" % \" with \",\".\n\n3) Error message says that it was failed to delete port, then we say \"why\" providing exception.","commit_id":"cc8f2095fe413946f97d8228c7339b583cca1e41"}],"manila/tests/share/drivers/test_service_instance.py":[{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"525ec59991919e1c2a9c3824b00fabce28f1a70b","unresolved":false,"context_lines":[{"line_number":1371,"context_line":"                            public_port_id\u003d\u0027fake_public_port_id\u0027))]"},{"line_number":1372,"context_line":"    )"},{"line_number":1373,"context_line":"    @ddt.unpack"},{"line_number":1374,"context_line":"    def test_teardown_netowrk_with_ports(self, server_details, fail):"},{"line_number":1375,"context_line":"        instance \u003d self._init_neutron_network_plugin()"},{"line_number":1376,"context_line":"        self.mock_object("},{"line_number":1377,"context_line":"            service_instance.neutron.API, \u0027router_remove_interface\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_2c000534","line":1374,"updated":"2015-05-15 03:57:57.000000000","message":"typo: network","commit_id":"cc8f2095fe413946f97d8228c7339b583cca1e41"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"5a927bc66a0450b103fad6e0626661f178be90d8","unresolved":false,"context_lines":[{"line_number":1371,"context_line":"                            public_port_id\u003d\u0027fake_public_port_id\u0027))]"},{"line_number":1372,"context_line":"    )"},{"line_number":1373,"context_line":"    @ddt.unpack"},{"line_number":1374,"context_line":"    def test_teardown_netowrk_with_ports(self, server_details, fail):"},{"line_number":1375,"context_line":"        instance \u003d self._init_neutron_network_plugin()"},{"line_number":1376,"context_line":"        self.mock_object("},{"line_number":1377,"context_line":"            service_instance.neutron.API, \u0027router_remove_interface\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_582bf830","line":1374,"in_reply_to":"7a016987_2c000534","updated":"2015-05-15 09:23:57.000000000","message":"Done","commit_id":"cc8f2095fe413946f97d8228c7339b583cca1e41"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"434973a2ce4498991d3d02481a8f46df48373c65","unresolved":false,"context_lines":[{"line_number":1427,"context_line":"        service_instance.neutron.API.delete_port.assert_called_once(mock.ANY)"},{"line_number":1428,"context_line":"        service_instance.LOG.debug.assert_has_calls([])"},{"line_number":1429,"context_line":""},{"line_number":1430,"context_line":"    def test_teardown_netowrk_with_wrong_ports(self):"},{"line_number":1431,"context_line":"        instance \u003d self._init_neutron_network_plugin()"},{"line_number":1432,"context_line":"        self.mock_object("},{"line_number":1433,"context_line":"            service_instance.neutron.API, \u0027router_remove_interface\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_47279a12","line":1430,"updated":"2015-05-15 04:44:49.000000000","message":"Here too.  netowrk -\u003e network","commit_id":"cc8f2095fe413946f97d8228c7339b583cca1e41"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"5a927bc66a0450b103fad6e0626661f178be90d8","unresolved":false,"context_lines":[{"line_number":1427,"context_line":"        service_instance.neutron.API.delete_port.assert_called_once(mock.ANY)"},{"line_number":1428,"context_line":"        service_instance.LOG.debug.assert_has_calls([])"},{"line_number":1429,"context_line":""},{"line_number":1430,"context_line":"    def test_teardown_netowrk_with_wrong_ports(self):"},{"line_number":1431,"context_line":"        instance \u003d self._init_neutron_network_plugin()"},{"line_number":1432,"context_line":"        self.mock_object("},{"line_number":1433,"context_line":"            service_instance.neutron.API, \u0027router_remove_interface\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_38215c4e","line":1430,"in_reply_to":"7a016987_47279a12","updated":"2015-05-15 09:23:57.000000000","message":"Done","commit_id":"cc8f2095fe413946f97d8228c7339b583cca1e41"}]}
