summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-03-22 15:16:55 +0200
committerLars Wirzenius <liw@liw.fi>2015-03-22 15:16:55 +0200
commit4ce252c44d03c31072803743eb4886ac3e426da2 (patch)
tree9163ef31802aa19981a6fea6d6ab38054b700add
parent786eba22beffd64be7e6003c74c393ff1f84fc25 (diff)
downloadobnam-4ce252c44d03c31072803743eb4886ac3e426da2.tar.gz
Don't fix st_ctime, st_blksize that don't exist
-rw-r--r--obnamlib/plugins/sftp_plugin.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/obnamlib/plugins/sftp_plugin.py b/obnamlib/plugins/sftp_plugin.py
index cebd2ab0..a0061b45 100644
--- a/obnamlib/plugins/sftp_plugin.py
+++ b/obnamlib/plugins/sftp_plugin.py
@@ -411,11 +411,9 @@ class SftpFS(obnamlib.VirtualFileSystem):
# returns "None" for st_size. We replace None values with
# zeroes, to avoid sprinkling Obnam code with tests for None.
st.st_atime = st.st_atime or 0
- st.st_ctime = st.st_ctime or 0
st.st_mtime = st.st_mtime or 0
st.st_mode = st.st_mode or 0
st.st_size = st.st_size or 0
- st.st_blksize = st.st_blksize or 0
st.st_gid = st.st_gid or 0
st.st_uid = st.st_uid or 0