Show More
@@ -175,6 +175,9 b' def pathto(n1, n2):' | |||
|
175 | 175 | |
|
176 | 176 | def canonpath(root, cwd, myname): |
|
177 | 177 | """return the canonical path of myname, given cwd and root""" |
|
178 | if root == os.sep: | |
|
179 | rootsep = os.sep | |
|
180 | else: | |
|
178 | 181 | rootsep = root + os.sep |
|
179 | 182 | name = myname |
|
180 | 183 | if not name.startswith(os.sep): |
General Comments 0
You need to be logged in to leave comments.
Login now