depgraph: reset pkgsettings after setcpv
authorZac Medico <zmedico@gentoo.org>
Mon, 19 Mar 2012 16:29:29 +0000 (09:29 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 19 Mar 2012 16:29:29 +0000 (09:29 -0700)
commit884993c7f4b9e7e9ede690f5fab81742915fc942
tree1d1b1a13e69e5adf8f36f44edca7f863bb4338f1
parentaa7a0a91390accd84c04302e1e738f945aee333a
depgraph: reset pkgsettings after setcpv

This should prevent doebuild_environment from incorrectly using the
CATEGORY from the previous setcpv call, as reported in bug #408817.
pym/_emerge/depgraph.py