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