From 576731534b828c1d675cce9929b04d8a13b804db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Mon, 11 Apr 2022 10:25:03 -0300 Subject: [PATCH] =?UTF-8?q?Remover=20ipdb=20do=20c=C3=B3digo.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/convenios/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/convenios/models.py b/sigi/apps/convenios/models.py index fb2c532..9ae0abc 100644 --- a/sigi/apps/convenios/models.py +++ b/sigi/apps/convenios/models.py @@ -549,7 +549,7 @@ class Gescon(models.Model): # Pegar só os contratos que possuem alguma das palavras-chave # ou algum dos órgaos gestores - import ipdb; ipdb.set_trace() + nossos = [c for c in contratos if any(palavra in c['objeto'] for palavra in palavras) or any(orgao in c['orgaosGestoresTitulares']