Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/
Date: Thu, 05 Dec 2013 15:39:01
Message-Id: 1386255933.c398a7e0a111081547ae1c4e5f723e0216310a57.dol-sen@gentoo
1 commit: c398a7e0a111081547ae1c4e5f723e0216310a57
2 Author: Sebastian Luther <SebastianLuther <AT> gmx <DOT> de>
3 AuthorDate: Mon Dec 2 20:04:27 2013 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Thu Dec 5 15:05:33 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c398a7e0
7
8 Fix crash in _ignore_dependency
9
10 ---
11 pym/_emerge/depgraph.py | 1 +
12 1 file changed, 1 insertion(+)
13
14 diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
15 index cd68db6..6600bc2 100644
16 --- a/pym/_emerge/depgraph.py
17 +++ b/pym/_emerge/depgraph.py
18 @@ -2283,6 +2283,7 @@ class depgraph(object):
19 (pkg.root, pkg.slot_atom) in self._dynamic_config._slot_operator_replace_installed and \
20 mypriority.satisfied is not child and \
21 mypriority.satisfied.installed and \
22 + child and \
23 not child.installed and \
24 (child.slot != mypriority.satisfied.slot or child.sub_slot != mypriority.satisfied.sub_slot):
25 slot_operator_rebuild = True