Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r10144 - main/branches/2.1.2/bin
Date: Sat, 03 May 2008 22:42:28
Message-Id: E1JsQQz-00056e-5h@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-05-03 22:42:24 +0000 (Sat, 03 May 2008)
3 New Revision: 10144
4
5 Modified:
6 main/branches/2.1.2/bin/emerge
7 Log:
8 Return early from create_world_atom() if an atom matching the package
9 can't be found for some reason.
10
11
12 Modified: main/branches/2.1.2/bin/emerge
13 ===================================================================
14 --- main/branches/2.1.2/bin/emerge 2008-05-03 21:57:15 UTC (rev 10143)
15 +++ main/branches/2.1.2/bin/emerge 2008-05-03 22:42:24 UTC (rev 10144)
16 @@ -913,6 +913,8 @@
17 be greedy with respect to slots. Unslotted system packages will not be
18 stored in world."""
19 arg_atom = args_set.findAtomForPackage(pkg_key, metadata)
20 + if not arg_atom:
21 + return None
22 cp = portage.dep_getkey(arg_atom)
23 new_world_atom = cp
24 sets = root_config.sets
25
26 --
27 gentoo-commits@l.g.o mailing list