Use write_atomic to rewrite lafiles.
authorZac Medico <zmedico@gentoo.org>
Mon, 20 Dec 2010 13:48:39 +0000 (05:48 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 20 Dec 2010 14:03:05 +0000 (06:03 -0800)
commit468d96a199bb39cf0d7dd5b36e21798e50f7b70e
tree222ad34fc4ec33b8e27856ec6f1c3bcf715e5ad3
parent70f53f46aba6e0193f61a6e3bf9dbbaa3b9908e0
Use write_atomic to rewrite lafiles.

This should succeed even in some cases in which a normal write might
fail due to file permission settings on some operating systems such as
HP-UX.
pym/portage/package/ebuild/doebuild.py