Commit 20483699 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ERP5VCS: Fix wrong module path.

parent 744dc3d5
......@@ -118,7 +118,7 @@ class WorkingCopy(Implicit):
parts = path.split(os.sep)
try:
i = len(parts) - parts[::-1].index(os.pardir)
parts[:i] = os.realpath(parts[:i].join(os.sep)),
parts[:i] = os.path.realpath(parts[:i].join(os.sep)),
path = parts.join(os.sep)
except ValueError:
pass
......
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