Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9532 - main/branches/2.1.2/pym
Date: Fri, 28 Mar 2008 09:24:13
Message-Id: E1JfAol-0004YH-54@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-03-28 09:24:10 +0000 (Fri, 28 Mar 2008)
3 New Revision: 9532
4
5 Modified:
6 main/branches/2.1.2/pym/portage_util.py
7 Log:
8 Make stack_dicts() treat an empty variable assignment just like a non-empty
9 assignment. This allows the profile to set and empty variable in make.defaults
10 and have it override a non-empty value as one would expect. (trunk r9361)
11
12
13 Modified: main/branches/2.1.2/pym/portage_util.py
14 ===================================================================
15 --- main/branches/2.1.2/pym/portage_util.py 2008-03-28 09:21:51 UTC (rev 9531)
16 +++ main/branches/2.1.2/pym/portage_util.py 2008-03-28 09:24:10 UTC (rev 9532)
17 @@ -159,7 +159,7 @@
18 if final_dict is None:
19 final_dict = {}
20 for y in mydict.keys():
21 - if mydict[y]:
22 + if True:
23 if final_dict.has_key(y) and (incremental or (y in incrementals)):
24 final_dict[y] += " "+mydict[y][:]
25 else:
26
27 --
28 gentoo-commits@l.g.o mailing list