Show More
@@ -201,7 +201,7 b' def canonpath(root, cwd, myname):' | |||||
201 | else: |
|
201 | else: | |
202 | rootsep = root + os.sep |
|
202 | rootsep = root + os.sep | |
203 | name = myname |
|
203 | name = myname | |
204 | if not name.startswith(os.sep): |
|
204 | if not os.path.isabs(name): | |
205 | name = os.path.join(root, cwd, name) |
|
205 | name = os.path.join(root, cwd, name) | |
206 | name = os.path.normpath(name) |
|
206 | name = os.path.normpath(name) | |
207 | if name.startswith(rootsep): |
|
207 | if name.startswith(rootsep): |
General Comments 0
You need to be logged in to leave comments.
Login now