Show More
@@ -267,7 +267,7 b' class opener(abstractopener):' | |||
|
267 | 267 | mode += "b" # for that other OS |
|
268 | 268 | |
|
269 | 269 | nlink = -1 |
|
270 |
dirname, basename = |
|
|
270 | dirname, basename = util.split(f) | |
|
271 | 271 | # If basename is empty, then the path is malformed because it points |
|
272 | 272 | # to a directory. Let the posixfile() call below raise IOError. |
|
273 | 273 | if basename and mode not in ('r', 'rb'): |
@@ -383,7 +383,7 b' def canonpath(root, cwd, myname, auditor' | |||
|
383 | 383 | name = os.path.join(*rel) |
|
384 | 384 | auditor(name) |
|
385 | 385 | return util.pconvert(name) |
|
386 |
dirname, basename = |
|
|
386 | dirname, basename = util.split(name) | |
|
387 | 387 | rel.append(basename) |
|
388 | 388 | if dirname == name: |
|
389 | 389 | break |
General Comments 0
You need to be logged in to leave comments.
Login now