From 6963f7fb13e6ece524bae305a801e09f7b71eaf1 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Tue, 30 Oct 2007 16:31:02 +0000 Subject: [PATCH] Do not caluclate rela_path twice git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17298 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Subversion/Tool/SubversionTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Subversion/Tool/SubversionTool.py b/product/ERP5Subversion/Tool/SubversionTool.py index e8cc222c1e..458f2d3fa5 100644 --- a/product/ERP5Subversion/Tool/SubversionTool.py +++ b/product/ERP5Subversion/Tool/SubversionTool.py @@ -1060,7 +1060,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder): for file_path in path_list: real_path = self._getWorkingPath(file_path) if os.path.isdir(real_path): - shutil.rmtree(self._getWorkingPath(file_path)) + shutil.rmtree(real_path) elif os.path.isfile(real_path): os.remove(real_path) -- 2.30.9