From 90f8ff34cc41fb404675dfb2c307dfb94c652d1f Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Fri, 31 Aug 2018 16:57:56 -0300 Subject: [PATCH] Corrige retorno de get_dependencias_a_ressucitar --- sapl/legacy/scripts/ressucita_dependencias.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sapl/legacy/scripts/ressucita_dependencias.py b/sapl/legacy/scripts/ressucita_dependencias.py index 3fa9decd7..6b346c537 100644 --- a/sapl/legacy/scripts/ressucita_dependencias.py +++ b/sapl/legacy/scripts/ressucita_dependencias.py @@ -1,13 +1,13 @@ from textwrap import dedent +import texttable import yaml +from unipath import Path -import texttable from sapl.legacy.migracao_dados import (PROPAGACOES_DE_EXCLUSAO, exec_legado, get_arquivo_ajustes_pre_migracao) from sapl.legacy_migration_settings import (DIR_DADOS_MIGRACAO, DIR_REPO, NOME_BANCO_LEGADO) -from unipath import Path def stripsplit(ll): @@ -210,7 +210,7 @@ def get_dependencias_a_ressucitar(slug): Path(DIR_REPO.child('ocorrencias.yaml').read_file())) fks_faltando = ocorrencias.get('fk') if not fks_faltando: - return [], [] + return [], [], [] proposicoes_para_materia = [ fk for fk in fks_faltando