Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385366 Details for
Bug 523532
=sys-apps/portage-2.2.13 - TypeError: unsupported operand type(s) for +=: 'object' and 'int'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
_want_update_pkg: fix bug #523532
_want_update_pkg-fix-bug-523532.patch (text/plain), 979 bytes, created by
Zac Medico
on 2014-09-24 02:34:38 UTC
(
hide
)
Description:
_want_update_pkg: fix bug #523532
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2014-09-24 02:34:38 UTC
Size:
979 bytes
patch
obsolete
>From 9020790e6af189f4ea0badee313bbc02d032197e Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Tue, 23 Sep 2014 19:28:22 -0700 >Subject: [PATCH] _want_update_pkg: fix bug #523532 > >This fixes depth increment to handle _UNREACHABLE_DEPTH. Note that there >are some remaining "depth + 1" expressions that are protected by short >circuit evaluation (when deep is True). > >Fixes: 336ab90212c8 ("depgraph._add_dep: fix bug #520950") >X-Gentoo-Bug: 523532 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523532 >--- > pym/_emerge/depgraph.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py >index f4e5a1b..f6f716d 100644 >--- a/pym/_emerge/depgraph.py >+++ b/pym/_emerge/depgraph.py >@@ -4993,7 +4993,8 @@ class depgraph(object): > raise > > depth = parent.depth or 0 >- depth += 1 >+ if isinstance(depth, int): >+ depth += 1 > > if arg_atoms: > for arg, atom in arg_atoms: >-- >1.8.5.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 523532
:
385330
|
385332
|
385334
| 385366