diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-02-23 19:35:41 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-02-23 19:35:41 +0000 |
commit | d1521cfa06653251896130388a7c896f7cf02079 (patch) | |
tree | 1ef3239d8b9d8716412760724b7a43488382f150 | |
parent | 00c58746fe0f2f69858907038c573e540d484f83 (diff) | |
parent | a51f7a5669ad7c624b63559ab01250ceaf1a80f1 (diff) | |
download | obnam-d1521cfa06653251896130388a7c896f7cf02079.tar.gz |
Merge fix for old paramiko SFTP chdir bug
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | obnamlib/plugins/sftp_plugin.py | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -43,6 +43,7 @@ Bug fixes: David Fries. * Only set ssh user/port if explicitily requested, otherwise let ssh select them. Reported by Michael Goetze, fixed by David Fries. +* Fix problem with old version of paramiko and chdir. Fixed by Nick Altmann. Version 1.3, released 2012-12-16 -------------------------------- diff --git a/obnamlib/plugins/sftp_plugin.py b/obnamlib/plugins/sftp_plugin.py index 1241a26f..90081c4c 100644 --- a/obnamlib/plugins/sftp_plugin.py +++ b/obnamlib/plugins/sftp_plugin.py @@ -148,6 +148,7 @@ class SftpFS(obnamlib.VirtualFileSystem): self._connect_paramiko() if self.create_path_if_missing: self._create_root_if_missing() + self.chdir(self.path) self._initial_dir = self.getcwd() self.chdir(self.path) |