summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-22 05:55:13 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-22 05:55:13 +0000
commit28862b628c4a83b648319be51d45a60c45d316af (patch)
tree93f52c70afad84e472ff5b1a8b24c95ae6139449 /pym
parentde75da58c59b3ca1cde92be40db168e100c24eb6 (diff)
downloadportage-28862b628c4a83b648319be51d45a60c45d316af.tar.gz
portage-28862b628c4a83b648319be51d45a60c45d316af.tar.bz2
portage-28862b628c4a83b648319be51d45a60c45d316af.zip
Do put empty incrementals in the environment if they are already set.
svn path=/main/trunk/; revision=4791
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 3e97e3715..ff295e418 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1662,7 +1662,7 @@ class config:
myflags.sort()
#store setting in last element of configlist, the original environment:
- if myflags:
+ if myflags or mykey in self:
self.configlist[-1][mykey] = " ".join(myflags)
del myflags