Show More
@@ -266,9 +266,7 b' def pathto(root, n1, n2):' | |||
|
266 | 266 | |
|
267 | 267 | def canonpath(root, cwd, myname): |
|
268 | 268 | """return the canonical path of myname, given cwd and root""" |
|
269 | if root == os.sep: | |
|
270 | rootsep = os.sep | |
|
271 | elif endswithsep(root): | |
|
269 | if endswithsep(root): | |
|
272 | 270 | rootsep = root |
|
273 | 271 | else: |
|
274 | 272 | rootsep = root + os.sep |
General Comments 0
You need to be logged in to leave comments.
Login now