Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 355540 Details for
Bug 480428
Please make COLLISION_IGNORE apply only to unowned files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1. Fix owner search not to modify the list
0001-Fix-vartree._owners_db.iter_owners-not-to-modify-arg.patch (text/plain), 911 bytes, created by
Michał Górny
on 2013-08-09 20:54:37 UTC
(
hide
)
Description:
1. Fix owner search not to modify the list
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2013-08-09 20:54:37 UTC
Size:
911 bytes
patch
obsolete
>From dbb266ea7bb01b8432e4cfc2cc7d97560ced3945 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Fri, 9 Aug 2013 21:42:23 +0200 >Subject: [PATCH 1/3] Fix vartree._owners_db.iter_owners() not to modify args. > >Otherwise the list passed to it becomes empty after the iteration. It's >very confusing. >--- > pym/portage/dbapi/vartree.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py >index fe61229..c92a54a 100644 >--- a/pym/portage/dbapi/vartree.py >+++ b/pym/portage/dbapi/vartree.py >@@ -1178,8 +1178,8 @@ class vardbapi(dbapi): > call. > """ > >- if not isinstance(path_iter, list): >- path_iter = list(path_iter) >+ # ensure not to modify the argument >+ path_iter = list(path_iter) > owners_cache = self._populate() > vardb = self._vardb > root = vardb._eroot >-- >1.8.3.2 >
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 480428
: 355540 |
355542
|
355544