Simplify code for cloning config instances inside Scheduler.merge().
authorZac Medico <zmedico@gentoo.org>
Tue, 11 Nov 2008 18:37:37 +0000 (18:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 11 Nov 2008 18:37:37 +0000 (18:37 -0000)
svn path=/main/trunk/; revision=11856

pym/_emerge/__init__.py

index cc8208f4e87c4d74d6c4bdec2236b50205f45f5d..f0da0e7e2f21ee9d36cb0d25e86c3ecb4699d04a 100644 (file)
@@ -9627,7 +9627,7 @@ class Scheduler(PollScheduler):
                                root_config.settings.lock()
 
                        self.pkgsettings[root] = portage.config(
-                               clone=self.trees[root]["vartree"].settings)
+                               clone=root_config.settings)
 
                rval = self._check_manifests()
                if rval != os.EX_OK: