Commit 6963f7fb authored by Nicolas Delaby's avatar Nicolas Delaby

Do not caluclate rela_path twice

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17298 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aacdc0c4
......@@ -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)
......
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