Commit 21f15ad6 authored by Christophe Dumez's avatar Christophe Dumez

- code cleanup


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7242 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2008cb8d
......@@ -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
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment