treewalk: reset cloned config instances
authorZac Medico <zmedico@gentoo.org>
Wed, 25 May 2011 05:09:43 +0000 (22:09 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 May 2011 06:12:38 +0000 (23:12 -0700)
pym/portage/dbapi/vartree.py

index 1c0890683297c2ce3df6b6ce8fcac5b480f3b4c6..b7d3710a39292f5570fa9bb7ce5d63c0a7ce2279 100644 (file)
@@ -3002,6 +3002,7 @@ class dblink(object):
                        # we need it to have private ${T} etc... for things like elog.
                        settings_clone = config(clone=self.settings)
                        settings_clone.pop("PORTAGE_BUILDIR_LOCKED", None)
+                       settings_clone.reset()
                        others_in_slot.append(dblink(self.cat, catsplit(cur_cpv)[1],
                                settings=settings_clone,
                                vartree=self.vartree, treetype="vartree",