)]}'
{"openstack_dashboard/dashboards/project/access_and_security/tabs.py":[{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"fc8f278281d567e054f8d10b363552f697cf60fe","unresolved":false,"context_lines":[{"line_number":104,"context_line":"                              _(\u0027Unable to retrieve floating IP pools.\u0027))"},{"line_number":105,"context_line":"        pool_dict \u003d dict([(obj.id, obj.name) for obj in floating_ip_pools])"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"        attached_instance_ids \u003d [ip.instance_id for ip in floating_ips"},{"line_number":108,"context_line":"                                 if ip.instance_id is not None]"},{"line_number":109,"context_line":"        if attached_instance_ids:"},{"line_number":110,"context_line":"            instances \u003d []"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a57f1b5_beb36d99","line":107,"range":{"start_line":107,"start_character":48,"end_line":107,"end_character":51},"updated":"2016-02-12 09:17:01.000000000","message":"how about breaking this loop as soon as we got one ip with instance attached. If we have large number of floating ips, it will avoid wasting the time in the loop.","commit_id":"618f385218bc937680d6eb58c55371e1bc7c0603"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b189e4ba6c00681b13442d03edd3aa892f73163c","unresolved":false,"context_lines":[{"line_number":104,"context_line":"                              _(\u0027Unable to retrieve floating IP pools.\u0027))"},{"line_number":105,"context_line":"        pool_dict \u003d dict([(obj.id, obj.name) for obj in floating_ip_pools])"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"        attached_instance_ids \u003d [ip.instance_id for ip in floating_ips"},{"line_number":108,"context_line":"                                 if ip.instance_id is not None]"},{"line_number":109,"context_line":"        if attached_instance_ids:"},{"line_number":110,"context_line":"            instances \u003d []"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a57f1b5_27d7704c","line":107,"range":{"start_line":107,"start_character":48,"end_line":107,"end_character":51},"in_reply_to":"3a57f1b5_beb36d99","updated":"2016-02-12 10:04:54.000000000","message":"Masco, the idea is use all gathered instance ids later, when Nova API will allow us to restrict server_list only to return a specified set of ids.\n\nI\u0027ll add a TODO comment to indicate why it\u0027s done this way.","commit_id":"618f385218bc937680d6eb58c55371e1bc7c0603"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"b13755a1ac477434a6f2064c56c425ec25cd2986","unresolved":false,"context_lines":[{"line_number":110,"context_line":"            instances \u003d []"},{"line_number":111,"context_line":"            try:"},{"line_number":112,"context_line":"                # TODO(tsufiev): we should pass attached_instance_ids to"},{"line_number":113,"context_line":"                # nova.server_list as soon as Nova API allows for this"},{"line_number":114,"context_line":"                instances, has_more \u003d nova.server_list(self.request)"},{"line_number":115,"context_line":"            except Exception:"},{"line_number":116,"context_line":"                exceptions.handle(self.request,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1af94dfe_73bfadd0","line":113,"updated":"2016-03-16 10:04:44.000000000","message":"Is there a blueprint for this? Would be good to get it linked if possible, for others to follow up on.","commit_id":"bafe79c663da3cba611412b4cd47abb9cb8adc07"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"bdbe6497d89fff05a28f469fa07499b10d1db793","unresolved":false,"context_lines":[{"line_number":110,"context_line":"            instances \u003d []"},{"line_number":111,"context_line":"            try:"},{"line_number":112,"context_line":"                # TODO(tsufiev): we should pass attached_instance_ids to"},{"line_number":113,"context_line":"                # nova.server_list as soon as Nova API allows for this"},{"line_number":114,"context_line":"                instances, has_more \u003d nova.server_list(self.request)"},{"line_number":115,"context_line":"            except Exception:"},{"line_number":116,"context_line":"                exceptions.handle(self.request,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1af94dfe_ce353847","line":113,"in_reply_to":"1af94dfe_73bfadd0","updated":"2016-03-16 10:09:44.000000000","message":"Nova spec for this is currently being reviewed: https://blueprints.launchpad.net/nova/+spec/get-multi-servers-filter\n\nIs it okay to mention it?","commit_id":"bafe79c663da3cba611412b4cd47abb9cb8adc07"}],"openstack_dashboard/dashboards/project/volumes/tabs.py":[{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"b13755a1ac477434a6f2064c56c425ec25cd2986","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            return []"},{"line_number":56,"context_line":"        try:"},{"line_number":57,"context_line":"            # TODO(tsufiev): we should pass attached_instance_ids to"},{"line_number":58,"context_line":"            # nova.server_list as soon as Nova API allows for this"},{"line_number":59,"context_line":"            instances, has_more \u003d api.nova.server_list(self.request,"},{"line_number":60,"context_line":"                                                       search_opts\u003dsearch_opts)"},{"line_number":61,"context_line":"            return instances"}],"source_content_type":"text/x-python","patch_set":7,"id":"1af94dfe_931239b3","line":58,"updated":"2016-03-16 10:04:44.000000000","message":"ditto","commit_id":"bafe79c663da3cba611412b4cd47abb9cb8adc07"}]}
