From 8d16524d858427d4d02df823d5ff58c037451b88 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Mon, 11 Jun 2018 11:20:38 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20tag=20zope=20ao=20exportar=20zope=20?= =?UTF-8?q?mesmo=20sem=20mudan=C3=A7a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/legacy/scripts/exporta_zope/exporta_zope.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sapl/legacy/scripts/exporta_zope/exporta_zope.py b/sapl/legacy/scripts/exporta_zope/exporta_zope.py index f1a4b791f..d6af2c535 100755 --- a/sapl/legacy/scripts/exporta_zope/exporta_zope.py +++ b/sapl/legacy/scripts/exporta_zope/exporta_zope.py @@ -17,14 +17,14 @@ from functools import partial import git import magic import yaml +from unipath import Path + import ZODB.DB import ZODB.FileStorage -from unipath import Path +from variaveis_comuns import DIR_DADOS_MIGRACAO, TAG_ZOPE from ZODB.broken import Broken from ZODB.POSException import POSKeyError -from variaveis_comuns import DIR_DADOS_MIGRACAO, TAG_ZOPE - EXTENSOES = { 'application/msword': '.doc', 'application/pdf': '.pdf', @@ -427,8 +427,8 @@ def dump_sapl(sigla): # se de fato existe mudança status = 'completa' if finalizado else 'parcial' repo.index.commit(u'Exportação do zope {}'.format(status)) - if finalizado: - repo.git.execute('git tag -f'.split() + [TAG_ZOPE]) + if finalizado: + repo.git.execute('git tag -f'.split() + [TAG_ZOPE]) if __name__ == "__main__":