Show More
@@ -1353,6 +1353,8 class url(object): | |||
|
1353 | 1353 | <url scheme: 'ssh', host: '[::1]', port: '2200', path: '/home/joe/repo'> |
|
1354 | 1354 | >>> url('file:///home/joe/repo') |
|
1355 | 1355 | <url scheme: 'file', path: '/home/joe/repo'> |
|
1356 | >>> url('file:///c:/temp/foo/') | |
|
1357 | <url scheme: 'file', path: 'c:/temp/foo/'> | |
|
1356 | 1358 | >>> url('bundle:foo') |
|
1357 | 1359 | <url scheme: 'bundle', path: 'foo'> |
|
1358 | 1360 | >>> url('bundle://../foo') |
@@ -1442,7 +1444,7 class url(object): | |||
|
1442 | 1444 | path = None |
|
1443 | 1445 | if not self.host: |
|
1444 | 1446 | self.host = None |
|
1445 | if path: | |
|
1447 | if path and not hasdriveletter(path): | |
|
1446 | 1448 | path = '/' + path |
|
1447 | 1449 | |
|
1448 | 1450 | if self.host and '@' in self.host: |
General Comments 0
You need to be logged in to leave comments.
Login now