1 |
Author: zmedico |
2 |
Date: 2008-04-01 18:45:04 +0000 (Tue, 01 Apr 2008) |
3 |
New Revision: 9671 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.2/pym/portage.py |
7 |
Log: |
8 |
Remove some boolean logic that is obsolete now that the "selective" parameter |
9 |
is passed into dep_zapdeps(). (trunk r9669) |
10 |
|
11 |
|
12 |
Modified: main/branches/2.1.2/pym/portage.py |
13 |
=================================================================== |
14 |
--- main/branches/2.1.2/pym/portage.py 2008-04-01 18:43:42 UTC (rev 9670) |
15 |
+++ main/branches/2.1.2/pym/portage.py 2008-04-01 18:45:04 UTC (rev 9671) |
16 |
@@ -5359,10 +5359,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 |