From: Zac Medico Date: Sun, 22 Oct 2006 05:53:00 +0000 (-0000) Subject: Don't put empty incrementals in the environment. X-Git-Tag: v2.1.2~574 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=de75da58c59b3ca1cde92be40db168e100c24eb6;p=portage.git Don't put empty incrementals in the environment. svn path=/main/trunk/; revision=4790 --- 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.