From e2b06cf9b7e9791a380a2781b59c0e8ed1859a27 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Sat, 1 Sep 2018 15:46:23 -0300 Subject: [PATCH] =?UTF-8?q?Corrige=20erro=20na=20cria=C3=A7=C3=A3o=20ao=20?= =?UTF-8?q?ressucitar=20deps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/legacy/scripts/ressucita_dependencias.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/legacy/scripts/ressucita_dependencias.py b/sapl/legacy/scripts/ressucita_dependencias.py index 5653a9ada..7b37c1977 100644 --- a/sapl/legacy/scripts/ressucita_dependencias.py +++ b/sapl/legacy/scripts/ressucita_dependencias.py @@ -272,6 +272,7 @@ def get_sql_desexcluir(tabela_alvo, campo, valor, slug): def get_sql_criar(tabela_alvo, campo, valor, slug): if tabela_alvo == 'sessao_legislativa': sql = criar_sessao_legislativa(campo, valor) + extras = [] else: sql, extras = SQLS_CRIACAO[tabela_alvo] sql = sql.format(valor)