388
388
"""On win32 the drive letter needs to be added to the url base."""
389
389
# Strip off the drive letter
390
390
# path is currently /C:/foo
392
392
raise errors.InvalidURL(url_base + path,
393
393
'win32 file:/// paths need a drive letter')
394
394
url_base += path[0:3] # file:// + /C: