From de75da58c59b3ca1cde92be40db168e100c24eb6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Oct 2006 05:53:00 +0000 Subject: Don't put empty incrementals in the environment. svn path=/main/trunk/; revision=4790 --- pym/portage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') 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. -- cgit v1.2.3-1-g7c22