summaryrefslogtreecommitdiff
path: root/morphlib/bins_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-28 18:00:21 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-28 18:49:14 +0100
commitd32c98f4b524b56938a7d5b942b100924dc5df61 (patch)
tree09b615288f9a28b0939a4d7ead6fe304a8cefdaa /morphlib/bins_tests.py
parente673826fbab90b1bb3b1b93277cab0e489fec190 (diff)
downloadmorph-d32c98f4b524b56938a7d5b942b100924dc5df61.tar.gz
Normalize timestamps of files in chunk artifacts
This avoids problems with clock skew between the machine that built an artifact and the machine the uses it. I ran into this problem during a test build of other changes in this patch series. We have seen it before, now it is fixed.
Diffstat (limited to 'morphlib/bins_tests.py')
-rw-r--r--morphlib/bins_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/bins_tests.py b/morphlib/bins_tests.py
index 544e9013..2333bedc 100644
--- a/morphlib/bins_tests.py
+++ b/morphlib/bins_tests.py
@@ -56,7 +56,7 @@ class BinsTest(unittest.TestCase):
if stat.S_ISDIR(st.st_mode):
return (st.st_mode, 0, 0)
else:
- return (st.st_mode, st.st_size, st.st_mtime)
+ return (st.st_mode, st.st_size, 0)
result = []