public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] Fix crash in _ignore_dependency
@ 2013-12-02 20:04 SebastianLuther
  2013-12-05 15:39 ` Brian Dolbec
  0 siblings, 1 reply; 2+ messages in thread
From: SebastianLuther @ 2013-12-02 20:04 UTC (permalink / raw
  To: gentoo-portage-dev

From: Sebastian Luther <SebastianLuther@gmx.de>

---
 pym/_emerge/depgraph.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 67b8881..763f3fd 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2337,6 +2337,7 @@ class depgraph(object):
 			(pkg.root, pkg.slot_atom) in self._dynamic_config._slot_operator_replace_installed and \
 			mypriority.satisfied is not child and \
 			mypriority.satisfied.installed and \
+			child and \
 			not child.installed and \
 			(child.slot != mypriority.satisfied.slot or child.sub_slot != mypriority.satisfied.sub_slot):
 			slot_operator_rebuild = True
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] Fix crash in _ignore_dependency
  2013-12-02 20:04 [gentoo-portage-dev] [PATCH] Fix crash in _ignore_dependency SebastianLuther
@ 2013-12-05 15:39 ` Brian Dolbec
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2013-12-05 15:39 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

On Mon, 2013-12-02 at 21:04 +0100, SebastianLuther@gmx.de wrote:
> From: Sebastian Luther <SebastianLuther@gmx.de>
> 
> ---
>  pym/_emerge/depgraph.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
> index 67b8881..763f3fd 100644
> --- a/pym/_emerge/depgraph.py
> +++ b/pym/_emerge/depgraph.py
> @@ -2337,6 +2337,7 @@ class depgraph(object):
>  			(pkg.root, pkg.slot_atom) in self._dynamic_config._slot_operator_replace_installed and \
>  			mypriority.satisfied is not child and \
>  			mypriority.satisfied.installed and \
> +			child and \
>  			not child.installed and \
>  			(child.slot != mypriority.satisfied.slot or child.sub_slot != mypriority.satisfied.sub_slot):
>  			slot_operator_rebuild = True


Done, pushed.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 620 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-05 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 20:04 [gentoo-portage-dev] [PATCH] Fix crash in _ignore_dependency SebastianLuther
2013-12-05 15:39 ` Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox