-
Committer:
John Arbash Meinel
-
Date:
2010-01-05 22:13:12 UTC
-
mto:
(4934.1.9 2.1.0rc1-set-mtime)
-
Revision ID:
john@arbash-meinel.com-20100105221312-ez1orftbr65ws6yd
It turns out that with os/python/C buffering, we need to flush
Make the test compatibily with filesystems that only have 1s resolution.
Also, it seems on my Linux machine, .writelines() leaves data in buffers
that doesn't get written out until .close(). But that messes up the
timestamps. So now we call flush before we close.