Make movefile() tolerant to EPERM errors that can be raised from utime()
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Apr 2008 07:32:46 +0000 (07:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 Apr 2008 07:32:46 +0000 (07:32 -0000)
commita8776a5df44d20a26db156f6803172917df5f1ad
tree8aefbbf01d3108d4d08f9029854cc2d71e6dba6c
parent231f3ec509e4c234aee5ae95385e3c9d2f458e98
Make movefile() tolerant to EPERM errors that can be raised from utime()
calls. Instead of failing, use stat() to return the mtime if possible.

svn path=/main/trunk/; revision=9864
pym/portage/__init__.py