From: Zac Medico Date: Tue, 23 Oct 2007 00:49:24 +0000 (-0000) Subject: Remove a redundant self.treeVirtuals deepcopy from the X-Git-Tag: v2.2_pre1~554 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f31f8b9a6a618b0416f6d05c7e58db21696fa4ab;p=portage.git Remove a redundant self.treeVirtuals deepcopy from the config constructor. svn path=/main/trunk/; revision=8238 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index a18765240..3fe7fe405 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -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)