Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9669 - main/trunk/pym/portage
Date: Tue, 01 Apr 2008 18:36:08
Message-Id: E1JglL3-0005u6-0u@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-04-01 18:36:03 +0000 (Tue, 01 Apr 2008)
3 New Revision: 9669
4
5 Modified:
6 main/trunk/pym/portage/__init__.py
7 Log:
8 Remove some boolean logic that is obsolete now that the "selective" parameter
9 is passed into dep_zapdeps().
10
11
12 Modified: main/trunk/pym/portage/__init__.py
13 ===================================================================
14 --- main/trunk/pym/portage/__init__.py 2008-04-01 18:27:32 UTC (rev 9668)
15 +++ main/trunk/pym/portage/__init__.py 2008-04-01 18:36:03 UTC (rev 9669)
16 @@ -5384,10 +5384,7 @@
17 avail_slot = "%s:%s" % (dep_getkey(atom),
18 mydbapi.aux_get(avail_pkg, ["SLOT"])[0])
19 elif not avail_pkg:
20 - has_mask = False
21 - if hasattr(mydbapi, "xmatch"):
22 - has_mask = bool(mydbapi.xmatch("match-all", atom))
23 - if (selective or use_binaries or not has_mask):
24 + if selective:
25 avail_pkg = vardb.match(atom)
26 if avail_pkg:
27 avail_pkg = avail_pkg[-1] # highest (ascending order)
28
29 --
30 gentoo-commits@l.g.o mailing list