In movefile mtime preservation code, simply round down to the nearest whole
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:54:38 +0000 (03:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:54:38 +0000 (03:54 -0000)
commitfec3573d246b14f0d1f57ee1febc7364c580ee7b
treed218dee59a478de8d964752e3a19bf95c0c3e62c
parent98063d065e6e2dce4e86b31ec233a2837cf4fa5c
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. (trunk r15054)

svn path=/main/branches/2.1.7/; revision=15087
pym/portage/__init__.py