]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/xstat.py
Don't accidentally pass atime/ctime/mtime through from_stat_time() twice.
[bup.git] / lib / bup / xstat.py
index 374954ab0f735058062659d4f75074a276aa8863..d279b932be08b11c08e883b856599caad43fb6d1 100644 (file)
@@ -114,9 +114,9 @@ class stat_result():
             result.st_gid = st.st_gid
             result.st_rdev = st.st_rdev
             result.st_size = st.st_size
-            atime = FSTime.from_stat_time(st.st_atime)
-            mtime = FSTime.from_stat_time(st.st_mtime)
-            ctime = FSTime.from_stat_time(st.st_ctime)
+            atime = st.st_atime
+            mtime = st.st_mtime
+            ctime = st.st_ctime
         result.st_atime = FSTime.from_stat_time(atime)
         result.st_mtime = FSTime.from_stat_time(mtime)
         result.st_ctime = FSTime.from_stat_time(ctime)