summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-20 09:17:29 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-20 09:17:29 +0000
commit4119d0a46544b6531c945f1e50638b5a60b57fb4 (patch)
treed8d6443b336cd54b403f617b43298dcb47929d15
parent7e8e3c2c1337d333145b52cda55e6072f0244280 (diff)
downloadportage-4119d0a46544b6531c945f1e50638b5a60b57fb4.tar.gz
portage-4119d0a46544b6531c945f1e50638b5a60b57fb4.tar.bz2
portage-4119d0a46544b6531c945f1e50638b5a60b57fb4.zip
Remove redundant initialization of directories for cloned config instances.
svn path=/main/trunk/; revision=3970
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index f5c20b840..e3eed28ab 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1256,11 +1256,11 @@ class config:
self["FEATURES"] = " ".join(self.features)
self.backup_changes("FEATURES")
+ self._init_dirs()
+
if mycpv:
self.setcpv(mycpv)
- self._init_dirs()
-
def _init_dirs(self):
"""Create tmp, var/tmp and var/lib/portage (relative to $ROOT)."""