Remove redundant initialization of directories for cloned config instances.
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Jul 2006 09:17:29 +0000 (09:17 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Jul 2006 09:17:29 +0000 (09:17 -0000)
svn path=/main/trunk/; revision=3970

pym/portage.py

index f5c20b84047dacf4347b2eb9e2932e923d069115..e3eed28ab6a10f74bd2cdd77769cc220980f3c5b 100644 (file)
@@ -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)."""