)]}'
{"openstack_dashboard/api/neutron.py":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"88a4b6234f877c61fb89f8dc1f7737dd8f1182cb","unresolved":false,"context_lines":[{"line_number":634,"context_line":"    networks +\u003d network_list(request, shared\u003dTrue, **params)"},{"line_number":635,"context_line":""},{"line_number":636,"context_line":"    if include_external:"},{"line_number":637,"context_line":"        fetched_net_ids \u003d [n.id for n in networks]"},{"line_number":638,"context_line":"        ext_nets \u003d network_list(request, **{\u0027router:external\u0027: True})"},{"line_number":639,"context_line":"        networks +\u003d [n for n in ext_nets if n.id not in fetched_net_ids]"},{"line_number":640,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1af94dfe_a91426f5","line":637,"updated":"2016-03-16 10:24:22.000000000","message":"Since this is used only for set inclusion test it should be:\n\n   fetched_net_ids \u003d set(n.id for n in networks)\n\nso the \"in\" test isn\u0027t a linear scan every time.","commit_id":"11d973fbe36369cba4b450536c6dff57c0cd6d21"}]}
