Commit 11dcc3e1 authored by Christophe Dumez's avatar Christophe Dumez

- Fixed windows portability problem


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1a54ceaf
......@@ -1070,8 +1070,8 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
# Get subversion path without business template name at the end
bt_path = self._getWorkingPath(self.getSubversionPath(business_template, \
False))
if bt_path[-1] != '/':
bt_path += '/'
if bt_path[-1] != os.sep:
bt_path += os.sep
# Business template root directory is the root of the tree
root = Dir(business_template.getTitle(), "normal")
something_modified = False
......
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