668
670
# instantiate it as such raise an appropriate error
669
671
raise errors.InvalidURL(base, error_str % m.group('proto'))
670
672
# This doesn't look like a protocol, consider it a local path
672
674
mutter('converting os path %r => url %s' , base, new_base)