From 9b172c583dd04f7ad482705b58b9892deb6687eb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 23 Oct 2007 00:50:42 +0000 Subject: [PATCH] Remove a redundant self.treeVirtuals deepcopy from the config constructor. (trunk r8238) svn path=/main/branches/2.1.2/; revision=8239 --- pym/portage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 6a1229167..420228433 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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: -- 2.26.2