summaryrefslogtreecommitdiffhomepage
path: root/tests/stub_sftp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stub_sftp.py')
-rw-r--r--tests/stub_sftp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/stub_sftp.py b/tests/stub_sftp.py
index 4b8b9c3c..16e91b46 100644
--- a/tests/stub_sftp.py
+++ b/tests/stub_sftp.py
@@ -48,6 +48,7 @@ class StubSFTPHandle (SFTPHandle):
# use the stored filename
try:
SFTPServer.set_file_attr(self.filename, attr)
+ return SFTP_OK
except OSError, e:
return SFTPServer.convert_errno(e.errno)