1 |
commit: 20119771015247be5a7143ff73f00ec52f9e83cb |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 29 01:41:22 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 01:41:22 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=20119771 |
7 |
|
8 |
tweak "missed updates" code from last commit |
9 |
|
10 |
--- |
11 |
pym/_emerge/depgraph.py | 6 +++--- |
12 |
1 files changed, 3 insertions(+), 3 deletions(-) |
13 |
|
14 |
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py |
15 |
index b58b76f..da61709 100644 |
16 |
--- a/pym/_emerge/depgraph.py |
17 |
+++ b/pym/_emerge/depgraph.py |
18 |
@@ -591,9 +591,9 @@ class depgraph(object): |
19 |
# Exclude installed here since we only |
20 |
# want to show available updates. |
21 |
continue |
22 |
- chosen_pkg, existing_node = \ |
23 |
- self._select_package(pkg.root, pkg.slot_atom) |
24 |
- if chosen_pkg >= pkg: |
25 |
+ chosen_pkg = self._dynamic_config.mydbapi[pkg.root |
26 |
+ ].match_pkgs(pkg.slot_atom) |
27 |
+ if not chosen_pkg or chosen_pkg[-1] >= pkg: |
28 |
continue |
29 |
k = (pkg.root, pkg.slot_atom) |
30 |
if k in missed_updates: |