Add EMERGE_FROM to the blacklisted vars in the config constructor.
authorZac Medico <zmedico@gentoo.org>
Sun, 29 Jun 2008 15:08:37 +0000 (15:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 29 Jun 2008 15:08:37 +0000 (15:08 -0000)
svn path=/main/trunk/; revision=10850

pym/portage/__init__.py

index 1f0003326f78d032a55c3a9b767d4e2b3f1020f1..922c620b633aa7e7782133be6e99ac97a26d6814 100644 (file)
@@ -1398,7 +1398,7 @@ class config(object):
 
                        # Blacklist vars that could interfere with portage internals.
                        for blacklisted in "CATEGORY", "EBUILD_PHASE", \
-                               "PKGUSE", "PORTAGE_CONFIGROOT", \
+                               "EMERGE_FROM", "PKGUSE", "PORTAGE_CONFIGROOT", \
                                "PORTAGE_IUSE", "PORTAGE_USE", "ROOT":
                                for cfg in self.lookuplist:
                                        cfg.pop(blacklisted, None)