659
659
# handler for the scheme?
660
660
global _protocol_handlers
672
677
# This is a local unicode path, convert it to a url
673
678
new_base = osutils.local_path_to_url(base)
674
679
mutter('converting os path %r => url %s' , base, new_base)
682
682
# The default handler is the filesystem handler, stored as protocol None
683
683
return _try_transport_factories(base, _protocol_handlers[None])