diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-12-12 18:37:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-12-12 18:37:41 +0000 |
commit | 3bd598792a7f4c8aac8b7b40b6c4ffb1fcf4860a (patch) | |
tree | 7b47274d93f61522975a9b3ed83e7acff4acc4b0 /pym/_emerge/depgraph.py | |
parent | c6b3b21019187f9f27b1b00b39e1558026cbc6ad (diff) | |
download | portage-3bd598792a7f4c8aac8b7b40b6c4ffb1fcf4860a.tar.gz portage-3bd598792a7f4c8aac8b7b40b6c4ffb1fcf4860a.tar.bz2 portage-3bd598792a7f4c8aac8b7b40b6c4ffb1fcf4860a.zip |
In movefile mtime preservation code, simply round down to the nearest whole
second since python's float cannot preserve the st_mtim.tv_nsec field with
complete precision. Note that we have to use stat_obj[stat.ST_MTIME] here
because the float stat_obj.st_mtime rounds *up* sometimes.
svn path=/main/trunk/; revision=15054
Diffstat (limited to 'pym/_emerge/depgraph.py')
0 files changed, 0 insertions, 0 deletions