diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-28 09:24:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-28 09:24:10 +0000 |
commit | e7b84be269957aad287e5aeb4cb1bed6cd84e45a (patch) | |
tree | 48d4ab4e4abc0778be4e45df378ba75a94eded61 /pym | |
parent | 0865a475dcd13d996fa9a40d74db590040abb4d2 (diff) | |
download | portage-e7b84be269957aad287e5aeb4cb1bed6cd84e45a.tar.gz portage-e7b84be269957aad287e5aeb4cb1bed6cd84e45a.tar.bz2 portage-e7b84be269957aad287e5aeb4cb1bed6cd84e45a.zip |
Make stack_dicts() treat an empty variable assignment just like a non-empty
assignment. This allows the profile to set and empty variable in make.defaults
and have it override a non-empty value as one would expect. (trunk r9361)
svn path=/main/branches/2.1.2/; revision=9532
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_util.py b/pym/portage_util.py index 902ed091f..bad313bdc 100644 --- a/pym/portage_util.py +++ b/pym/portage_util.py @@ -159,7 +159,7 @@ def stack_dicts(dicts, incremental=0, incrementals=[], ignore_none=0): if final_dict is None: final_dict = {} for y in mydict.keys(): - if mydict[y]: + if True: if final_dict.has_key(y) and (incremental or (y in incrementals)): final_dict[y] += " "+mydict[y][:] else: |