)]}'
{"neutron/db/l3_db.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"602fedc9993052aa09732259fecd42406f9d8788","unresolved":false,"context_lines":[{"line_number":883,"context_line":"    def _build_routers_list(self, context, routers, gw_ports):"},{"line_number":884,"context_line":"        for router in routers:"},{"line_number":885,"context_line":"            gw_port_id \u003d router[\u0027gw_port_id\u0027]"},{"line_number":886,"context_line":"            # Ensure we deal with missing gw ports"},{"line_number":887,"context_line":"            if gw_port_id and gw_ports.get(gw_port_id):"},{"line_number":888,"context_line":"                router[\u0027gw_port\u0027] \u003d gw_ports[gw_port_id]"},{"line_number":889,"context_line":"        return routers"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_da5f2173","line":886,"updated":"2014-08-13 09:24:12.000000000","message":"IMO, the comment is not fully clear, because the meaning of deal is unclear in the context, \"ensure we exclude deleted gw ports\" seems clearer","commit_id":"58e4501ff9348d6e36f45e7c930eeffc7b212e5b"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"fb52f68115884a8be4a41f3b6f7ef2f8a27f3d6a","unresolved":false,"context_lines":[{"line_number":883,"context_line":"    def _build_routers_list(self, context, routers, gw_ports):"},{"line_number":884,"context_line":"        for router in routers:"},{"line_number":885,"context_line":"            gw_port_id \u003d router[\u0027gw_port_id\u0027]"},{"line_number":886,"context_line":"            # Ensure we deal with missing gw ports"},{"line_number":887,"context_line":"            if gw_port_id and gw_ports.get(gw_port_id):"},{"line_number":888,"context_line":"                router[\u0027gw_port\u0027] \u003d gw_ports[gw_port_id]"},{"line_number":889,"context_line":"        return routers"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_80b0cf41","line":886,"in_reply_to":"baada198_da5f2173","updated":"2014-08-13 14:05:36.000000000","message":"fair point, I\u0027ll see if I can make it easier to understand","commit_id":"58e4501ff9348d6e36f45e7c930eeffc7b212e5b"}],"neutron/tests/unit/db/test_l3_dvr_db.py":[{"author":{"_account_id":490,"name":"Sumit Naiksatam","email":"sumitnaiksatam@gmail.com","username":"snaiksat"},"change_message_id":"79ecd841a783d39dfd9c532323025d13d5c49c26","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                self.ctx, router_id, router_db, mock.ANY)"},{"line_number":169,"context_line":"            self.assertFalse(cs.call_count)"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"    def test_build_routers_list_with_concurrent_delete(self):"},{"line_number":172,"context_line":"        routers \u003d [{\u0027gw_port_id\u0027: \u0027foo_gw_port_id\u0027, \u0027id\u0027: \u0027foo_router_id\u0027}]"},{"line_number":173,"context_line":"        gw_ports \u003d {}"},{"line_number":174,"context_line":"        routers \u003d self.mixin._build_routers_list(self.ctx, routers, gw_ports)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_54176f46","line":171,"updated":"2014-08-13 04:27:47.000000000","message":"pardon me for being slow - where does the concurrent delete happen here?","commit_id":"58e4501ff9348d6e36f45e7c930eeffc7b212e5b"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"36b63c98ee75e145788f085692d3451728a88fff","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                self.ctx, router_id, router_db, mock.ANY)"},{"line_number":169,"context_line":"            self.assertFalse(cs.call_count)"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"    def test_build_routers_list_with_concurrent_delete(self):"},{"line_number":172,"context_line":"        routers \u003d [{\u0027gw_port_id\u0027: \u0027foo_gw_port_id\u0027, \u0027id\u0027: \u0027foo_router_id\u0027}]"},{"line_number":173,"context_line":"        gw_ports \u003d {}"},{"line_number":174,"context_line":"        routers \u003d self.mixin._build_routers_list(self.ctx, routers, gw_ports)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_b4a0cba5","line":171,"in_reply_to":"baada198_54176f46","updated":"2014-08-13 04:46:19.000000000","message":"no, my bad, maybe the name is not really appropriate...this is testing the condition where, because of concurrent delete, gw_ports ends up missing the gw_port that routers has. Shall I change the name?","commit_id":"58e4501ff9348d6e36f45e7c930eeffc7b212e5b"}]}
