)]}'
{"watcher/decision_engine/model/notification/nova.py":[{"author":{"_account_id":19055,"name":"Alexander Chadin","email":"joker946@gmail.com","username":"joker946"},"change_message_id":"470674651bf162917195c898ca875147b6b009a4","unresolved":false,"context_lines":[{"line_number":193,"context_line":"    def delete_instance(self, instance, node):"},{"line_number":194,"context_line":"        try:"},{"line_number":195,"context_line":"            self.cluster_data_model.delete_instance(instance, node)"},{"line_number":196,"context_line":"        except Exception:"},{"line_number":197,"context_line":"            LOG.info(_LI(\"Instance %s already deleted\"), instance.uuid)"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"7a8ec9b2_242304bf","line":196,"range":{"start_line":196,"start_character":15,"end_line":196,"end_character":25},"updated":"2016-09-14 13:51:13.000000000","message":"TODO: if any exception is waiting here, then we need to show this exception in any case. I propose here something like:\n\ntry:\n    ...\nexcept KeyError: # Or something else that is appropriate here\n    LOG.info(_LI(\"Instance %s already deleted\"), instance.uuid)\nexcept Exception as exc:\n    LOG.exception(exc)","commit_id":"72e6564549940c416b0d2076486249f7bdc3e9ad"}],"watcher/decision_engine/strategy/strategies/basic_consolidation.py":[{"author":{"_account_id":18971,"name":"Vincent Françoise","email":"Vincent.FRANCOISE@b-com.com","username":"v-francoise"},"change_message_id":"32c9f87f0371d43ebfb4350aaf98da7fa08aa219","unresolved":false,"context_lines":[{"line_number":152,"context_line":"        total_cores \u003d 0"},{"line_number":153,"context_line":"        total_disk \u003d 0"},{"line_number":154,"context_line":"        total_mem \u003d 0"},{"line_number":155,"context_line":"        cpu_capacity \u003d self.compute_model.get_resource_by_uuid("},{"line_number":156,"context_line":"            element.ResourceType.cpu_cores)"},{"line_number":157,"context_line":"        disk_capacity \u003d self.compute_model.get_resource_by_uuid("},{"line_number":158,"context_line":"            element.ResourceType.disk)"}],"source_content_type":"text/x-python","patch_set":10,"id":"7a8ec9b2_6a9dd564","line":155,"range":{"start_line":155,"start_character":42,"end_line":155,"end_character":62},"updated":"2016-09-14 13:59:58.000000000","message":"TODO undo this","commit_id":"72e6564549940c416b0d2076486249f7bdc3e9ad"}]}
