From ad9f0bd846805ac11f4b03d304167c0837ae52fa Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Tue, 19 Jun 2018 12:02:34 -0300 Subject: [PATCH] Inclui arq mtimes.yaml no versionamento ao exportar docs --- sapl/legacy/scripts/exporta_zope/exporta_zope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/legacy/scripts/exporta_zope/exporta_zope.py b/sapl/legacy/scripts/exporta_zope/exporta_zope.py index 8f78b060f..ca5044db1 100755 --- a/sapl/legacy/scripts/exporta_zope/exporta_zope.py +++ b/sapl/legacy/scripts/exporta_zope/exporta_zope.py @@ -433,8 +433,8 @@ def dump_sapl(sigla): finally: # grava mundaças repo_execute(repo, 'git annex add sapl_documentos') - repo.git.add(A=True) arq_mtimes.write_file(yaml.safe_dump(mtimes, allow_unicode=True)) + repo.git.add(A=True) # atualiza repo if 'master' not in repo.heads or repo.index.diff('HEAD'): # se de fato existe mudança