Show More
@@ -205,6 +205,8 b' def canonpath(root, cwd, myname):' | |||||
205 | """return the canonical path of myname, given cwd and root""" |
|
205 | """return the canonical path of myname, given cwd and root""" | |
206 | if root == os.sep: |
|
206 | if root == os.sep: | |
207 | rootsep = os.sep |
|
207 | rootsep = os.sep | |
|
208 | elif root.endswith(os.sep): | |||
|
209 | rootsep = root | |||
208 | else: |
|
210 | else: | |
209 | rootsep = root + os.sep |
|
211 | rootsep = root + os.sep | |
210 | name = myname |
|
212 | name = myname |
General Comments 0
You need to be logged in to leave comments.
Login now