From 5df48fa3e4fb8e767ddf861598669f3d5ac31a4e Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Tue, 19 Sep 2006 11:37:55 +0000 Subject: [PATCH] fixed typo that lead to python2.3 incompatibility git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10149 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Subversion/Tool/SubversionTool.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5Subversion/Tool/SubversionTool.py b/product/ERP5Subversion/Tool/SubversionTool.py index a8a4426a55..3ad0aaa0e4 100644 --- a/product/ERP5Subversion/Tool/SubversionTool.py +++ b/product/ERP5Subversion/Tool/SubversionTool.py @@ -737,13 +737,13 @@ class SubversionTool(BaseTool, UniqueObject, Folder): """ path = self._getWorkingPath(self.getSubversionPath(business_template)) # First remove unversioned in working copy that could conflict - self.removeAllInList(x['uid'] for x in self.unversionedFiles(path)) + self.removeAllInList([x['uid'] for x in self.unversionedFiles(path)]) client = self._getClient() # Revert local changes in working copy first # to import a "pure" BT after update self.revert(path=path, recurse=True) # removed unversioned files due to former added files that were reverted - self.removeAllInList(x['uid'] for x in self.unversionedFiles(path)) + self.removeAllInList([x['uid'] for x in self.unversionedFiles(path)]) # Update from SVN client.update(path) # Import in zodb @@ -762,7 +762,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder): if os.path.exists(revision_path): self.revert(path=revision_path, recurse=False) # remove unversioned files in working copy that could be annoying - self.removeAllInList(x['uid'] for x in self.unversionedFiles(path)) + self.removeAllInList([x['uid'] for x in self.unversionedFiles(path)]) # Update from SVN client.update(path) # Check if some files are conflicted to raise an exception -- 2.30.9