diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-10-22 05:53:00 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-10-22 05:53:00 +0000 |
commit | de75da58c59b3ca1cde92be40db168e100c24eb6 (patch) | |
tree | b2c17d4b0e2c5edb5c7b15382e5f4d8ba98e41d0 | |
parent | 7201e000ed51eeb02af62e642f400511053764ba (diff) | |
download | portage-de75da58c59b3ca1cde92be40db168e100c24eb6.tar.gz portage-de75da58c59b3ca1cde92be40db168e100c24eb6.tar.bz2 portage-de75da58c59b3ca1cde92be40db168e100c24eb6.zip |
Don't put empty incrementals in the environment.
svn path=/main/trunk/; revision=4790
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 2882faacd..3e97e3715 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1662,7 +1662,8 @@ class config: myflags.sort() #store setting in last element of configlist, the original environment: - self.configlist[-1][mykey]=string.join(myflags," ") + if myflags: + self.configlist[-1][mykey] = " ".join(myflags) del myflags # Do the USE calculation last because it depends on USE_EXPAND. |