From ea3e0301c86992ccebf82870fec8974d71fa3080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Thu, 30 Jun 2022 09:41:31 -0300 Subject: [PATCH] Remove prints --- sigi/apps/parlamentares/jobs/minutely/importa_parlamentar.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/sigi/apps/parlamentares/jobs/minutely/importa_parlamentar.py b/sigi/apps/parlamentares/jobs/minutely/importa_parlamentar.py index b8c13f8..36e7a12 100644 --- a/sigi/apps/parlamentares/jobs/minutely/importa_parlamentar.py +++ b/sigi/apps/parlamentares/jobs/minutely/importa_parlamentar.py @@ -177,7 +177,6 @@ class Job(MinutelyJob): for row in reader: total += 1 if (total % 1000) == 0: - print(total) if not ( row["CD_CARGO"] in cargos and row["CD_SIT_TOT_TURNO"] in cod_situacao @@ -316,7 +315,6 @@ class Job(MinutelyJob): return result sequenciais = {n[3:14]: n for n in zip_file.namelist()} - print(f"Importar {len(sequenciais)} fotos") parlamentares = Parlamentar.objects.filter( sequencial_tse__in=sequenciais.keys() ) @@ -324,7 +322,6 @@ class Job(MinutelyJob): total = len(zip_file.namelist()) imported = parlamentares.count() skiped = total - imported - print(f"{imported} parlamentares encontrados") if imported <= 0: result["erros"].append(