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

svn path=/main/trunk/; revision=8238

pym/portage/__init__.py

index a18765240ee7f00e3f0d9cc29c1812781c9bcb6e..3fe7fe405fa5039c9c9c6fa89dc9e340aad6a64c 100644 (file)
@@ -920,6 +920,7 @@ class config(object):
                        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)
@@ -959,8 +960,6 @@ class config(object):
                        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._accept_license = copy.deepcopy(clone._accept_license)