From e74c1024ddb5c7b61dc140e23f0a3700d91b02a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 28 Feb 2023 11:23:29 -0300 Subject: [PATCH] =?UTF-8?q?Corrige=20log=20da=20sincroniza=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/servicos/jobs/daily/sincroniza_dns.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sigi/apps/servicos/jobs/daily/sincroniza_dns.py b/sigi/apps/servicos/jobs/daily/sincroniza_dns.py index 9331392..8fa03e1 100644 --- a/sigi/apps/servicos/jobs/daily/sincroniza_dns.py +++ b/sigi/apps/servicos/jobs/daily/sincroniza_dns.py @@ -41,8 +41,6 @@ class Job(JobReportMixin, DailyJob): def do_job(self): self.report_data[LOG_GERAL] = get_log_entry() - self.report_data["reativados"] = get_log_entry() # TODO: Remover - self.info("id,nome do orgao,instancia,tipo,url,motivo", "reativados") if ( not settings.REGISTRO_PATH.exists() @@ -309,8 +307,6 @@ class Job(JobReportMixin, DailyJob): ) self.report_data[uf]["sumario"]["atualizados"] += 1 self.info(msg, uf) - msg = f"{srv.id},{orgao.nome},{srv.instancia},{srv.tipo_servico.nome},{srv.url},{srv.motivo_desativacao}" - self.info(msg, "reativados") def log_remove(self, srv): orgao = srv.casa_legislativa