diff --git a/product/ERP5Subversion/SubversionClient.py b/product/ERP5Subversion/SubversionClient.py index 06bd4b154ef69e6e3bf119278b62ac90da526985..718325a0a6a0b83ee1fc7fb8cafd4b7a72a07577 100644 --- a/product/ERP5Subversion/SubversionClient.py +++ b/product/ERP5Subversion/SubversionClient.py @@ -29,7 +29,7 @@ from Acquisition import Implicit -import time, os, time +import time, os from Products.ERP5Type.Utils import convertToUpperCase from MethodObject import Method from Globals import InitializeClass diff --git a/product/ERP5Subversion/Tool/SubversionTool.py b/product/ERP5Subversion/Tool/SubversionTool.py index 07b81284e76e26d3a69100472cbe0c9cfbbdcda0..47f7053a9929c76e54717e79f79fe0173db6bfe0 100644 --- a/product/ERP5Subversion/Tool/SubversionTool.py +++ b/product/ERP5Subversion/Tool/SubversionTool.py @@ -705,6 +705,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder): """ client = self._getClient() object_to_update = {} + # Transform params to list if they are not already lists if not added_files : added_files = [] if not other_files : @@ -875,7 +876,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder): def extractBT(self, bt): bt.build() svn_path = self.getSubversionPath(bt) + os.sep - path = mktemp() +os.sep + path = mktemp() + os.sep bt.export(path=path, local=1) # svn del deleted files self.deleteOldFiles(svn_path, path, bt)