From 8fbc5aee5cb676e3c664509ff8484e9135a871ea Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Sat, 23 Jun 2018 12:35:07 -0300 Subject: [PATCH] =?UTF-8?q?Corrige=20git=20annex=20fix=20na=20migra=C3=A7?= =?UTF-8?q?=C3=A3o=20de=20imagens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/legacy/migracao_documentos.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/legacy/migracao_documentos.py b/sapl/legacy/migracao_documentos.py index 44e52ffef..b246cd467 100644 --- a/sapl/legacy/migracao_documentos.py +++ b/sapl/legacy/migracao_documentos.py @@ -140,6 +140,7 @@ def migrar_docs_por_ids(repo, model): if tem_cropping: # conserta link do git annex (antes do commit) # pois o conteúdo das imagens é acessado pelo cropping + repo.git.add(destino) repo.git.execute('git annex fix'.split() + [destino]) obj.save() else: