summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-23 00:49:24 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-23 00:49:24 +0000
commitf31f8b9a6a618b0416f6d05c7e58db21696fa4ab (patch)
treef5e26164e7693b60612f57b554371ba0a50d5949 /pym
parentaeded62f174cf81546dce548b89c58d356dd7bb0 (diff)
downloadportage-f31f8b9a6a618b0416f6d05c7e58db21696fa4ab.tar.gz
portage-f31f8b9a6a618b0416f6d05c7e58db21696fa4ab.tar.bz2
portage-f31f8b9a6a618b0416f6d05c7e58db21696fa4ab.zip
Remove a redundant self.treeVirtuals deepcopy from the
config constructor. svn path=/main/trunk/; revision=8238
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py3
1 files changed, 1 insertions, 2 deletions
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)