Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 222253 Details for
Bug 307947
`PORTDIR_OVERLAY="" equery which` gives traceback
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gentoolkit-0.3.0_rc9-installed.patch
gentoolkit-0.3.0_rc9-installed.patch (text/plain), 1.03 KB, created by
Harald van Dijk (RETIRED)
on 2010-03-06 10:39:46 UTC
(
hide
)
Description:
gentoolkit-0.3.0_rc9-installed.patch
Filename:
MIME Type:
Creator:
Harald van Dijk (RETIRED)
Created:
2010-03-06 10:39:46 UTC
Size:
1.03 KB
patch
obsolete
>--- gentoolkit-0.3.0_rc9/pym/gentoolkit/equery/which.py >+++ gentoolkit-0.3.0_rc9/pym/gentoolkit/equery/which.py >@@ -86,7 +86,7 @@ > > for query in queries: > >- matches = find_packages(query, QUERY_OPTS['includeMasked']) >+ matches = find_packages(query, QUERY_OPTS['includeMasked'], False) > if matches: > pkg = sorted(matches).pop() > ebuild_path = pkg.ebuild_path() >--- gentoolkit-0.3.0_rc9/pym/gentoolkit/helpers.py >+++ gentoolkit-0.3.0_rc9/pym/gentoolkit/helpers.py >@@ -521,7 +521,7 @@ > return [Package(x) for x in matches] > > >-def find_packages(query, include_masked=False): >+def find_packages(query, include_masked=False, include_installed=True): > """Returns a list of Package objects that matched the query. > > @type query: str >@@ -542,7 +542,8 @@ > matches = PORTDB.xmatch("match-all", query) > else: > matches = PORTDB.match(query) >- matches.extend(VARDB.match(query)) >+ if include_installed: >+ matches.extend(VARDB.match(query)) > except portage.exception.InvalidAtom, err: > raise errors.GentoolkitInvalidAtom(str(err)) >
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 307947
: 222253