Commit 78c2bffe authored by Christophe Dumez's avatar Christophe Dumez

- use os.path.join() instead of doing it manually


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7231 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d583b611
...@@ -454,7 +454,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder): ...@@ -454,7 +454,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
if tmp: if tmp:
extension = tmp.string[tmp.start():tmp.end()].strip() extension = tmp.string[tmp.start():tmp.end()].strip()
edit_path = edit_path[:-len(extension)] edit_path = edit_path[:-len(extension)]
edit_path = bt.REQUEST["BASE2"] + '/' + edit_path + '/manage_main' edit_path = os.path.join(bt.REQUEST["BASE2"], edit_path, 'manage_main')
return edit_path return edit_path
def _encodeLogin(self, realm, user, password): def _encodeLogin(self, realm, user, password):
......
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