writedict: use write_atomic for exceptions
authorZac Medico <zmedico@gentoo.org>
Wed, 25 May 2011 05:42:24 +0000 (22:42 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 25 May 2011 05:42:24 +0000 (22:42 -0700)
commit3f91c71b99e6bdeecf9dcf171769b8a924065af7
tree79b205319386dd076697398772c2b8841559fbdd
parent5045d311b528f7e6f02223f6dc4330a6fbd1e9e9
writedict: use write_atomic for exceptions

Also, fix calling code to handle InvalidLocation exceptions.
pym/portage/dbapi/vartree.py
pym/portage/util/__init__.py