446
446
'the local current working directory.' % (backing_server,))
447
447
self._original_vendor = ssh._ssh_vendor_manager._cached_ssh_vendor
448
448
ssh._ssh_vendor_manager._cached_ssh_vendor = self._vendor
451
449
if sys.platform == 'win32':
452
450
# Win32 needs to use the UNICODE api
453
451
self._homedir = os.getcwdu()
455
455
# But Linux SFTP servers should just deal in bytestreams
456
456
self._homedir = os.getcwd()