611
617
netloc = '%s@%s' % (urllib.quote(self._username), netloc)
612
618
if self._port is not None:
613
619
netloc = '%s:%d' % (netloc, self._port)
615
620
return urlparse.urlunparse(('sftp', netloc, path, '', '', ''))
617
622
def _split_url(self, url):