Remove a redundant self.treeVirtuals deepcopy from the
authorZac Medico <zmedico@gentoo.org>
Tue, 23 Oct 2007 00:50:42 +0000 (00:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 23 Oct 2007 00:50:42 +0000 (00:50 -0000)
config constructor. (trunk r8238)

svn path=/main/branches/2.1.2/; revision=8239

pym/portage.py

index 6a122916717299946e5b2696a5dd2db471f75cb5..4202284337c2866f17bdce35e2637bb6f899e2c1 100644 (file)
@@ -1027,6 +1027,7 @@ class config:
                        self.packages = copy.deepcopy(clone.packages)
                        self.virtuals = copy.deepcopy(clone.virtuals)
 
+                       self.dirVirtuals = copy.deepcopy(clone.dirVirtuals)
                        self.treeVirtuals = copy.deepcopy(clone.treeVirtuals)
                        self.userVirtuals = copy.deepcopy(clone.userVirtuals)
                        self.negVirtuals  = copy.deepcopy(clone.negVirtuals)
@@ -1066,8 +1067,6 @@ class config:
                        self.punmaskdict = copy.deepcopy(clone.punmaskdict)
                        self.prevmaskdict = copy.deepcopy(clone.prevmaskdict)
                        self.pprovideddict = copy.deepcopy(clone.pprovideddict)
-                       self.dirVirtuals = copy.deepcopy(clone.dirVirtuals)
-                       self.treeVirtuals = copy.deepcopy(clone.treeVirtuals)
                        self.features = copy.deepcopy(clone.features)
                        self._use_wildcards = copy.deepcopy(clone._use_wildcards)
                else: