From bdab328b86b2c6887302efeafd72c05881c5eb53 Mon Sep 17 00:00:00 2001 From: Luciano Almeida Date: Tue, 3 Oct 2017 10:38:20 -0300 Subject: [PATCH] =?UTF-8?q?Ajusta=20exclus=C3=A3o=20para=20txt=5Fexpedient?= =?UTF-8?q?e=20durante=20exclus=C3=A3o=20de=20legado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Luciano Almeida --- sapl/legacy/migration.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sapl/legacy/migration.py b/sapl/legacy/migration.py index d34cf935a..e9d4f73b1 100644 --- a/sapl/legacy/migration.py +++ b/sapl/legacy/migration.py @@ -259,6 +259,9 @@ def excluir_registrovotacao_duplicados(): def delete_old(legacy_model, cols_values): + # ajuste necessário por conta de cósigos html em txt_expediente + if legacy_model.__name__ == 'ExpedienteSessaoPlenaria': + cols_values.pop('txt_expediente') def eq_clause(col, value): if value is None: