Show More
@@ -213,7 +213,7 b' def canonpath(root, cwd, myname):' | |||||
213 | if not os.path.isabs(name): |
|
213 | if not os.path.isabs(name): | |
214 | name = os.path.join(root, cwd, name) |
|
214 | name = os.path.join(root, cwd, name) | |
215 | name = os.path.normpath(name) |
|
215 | name = os.path.normpath(name) | |
216 | if name.startswith(rootsep): |
|
216 | if name != rootsep and name.startswith(rootsep): | |
217 | name = name[len(rootsep):] |
|
217 | name = name[len(rootsep):] | |
218 | audit_path(name) |
|
218 | audit_path(name) | |
219 | return pconvert(name) |
|
219 | return pconvert(name) |
General Comments 0
You need to be logged in to leave comments.
Login now