minimal cosmetics
authorFabian Groffen <grobian@gentoo.org>
Tue, 3 Jun 2008 20:45:01 +0000 (20:45 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 3 Jun 2008 20:45:01 +0000 (20:45 -0000)
svn path=/main/branches/prefix/; revision=10562

pym/portage/__init__.py

index 4ac632c68c0bb878b18f6901f11960d5edab78a5..35ebca987c19df737581142d7cdd9a4279f26960 100644 (file)
@@ -1310,7 +1310,7 @@ class config(object):
                        # lead to unexpected results.
                        expand_map = {}
 
-                       env_d = getconfig(os.path.join(target_root + EPREFIX_LSTRIP, "etc", "profile.env"),
+                       env_d = getconfig(os.path.join(target_root, EPREFIX_LSTRIP, "etc", "profile.env"),
                                expand=expand_map)
                        # env_d will be None if profile.env doesn't exist.
                        if env_d:
@@ -1401,7 +1401,8 @@ class config(object):
                        # Blacklist vars that could interfere with portage internals.
                        for blacklisted in "CATEGORY", "EBUILD_PHASE", \
                                "PKGUSE", "PORTAGE_CONFIGROOT", \
-                               "PORTAGE_IUSE", "PORTAGE_USE", "ROOT", "EPREFIX", "EROOT":
+                               "PORTAGE_IUSE", "PORTAGE_USE", "ROOT",
+                               "EPREFIX", "EROOT":
                                for cfg in self.lookuplist:
                                        cfg.pop(blacklisted, None)
                        del blacklisted, cfg