Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 58285 Details for
Bug 69456
equery list -p doesnt show un-/stable status for installed packages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
do gentoolkit.find_all_installed_packages look like gentoolkit.find_all_uninstalled_packages
gentoolkit-helpers.py.patch (text/plain), 664 bytes, created by
Hanno Zysik (geki)
on 2005-05-07 10:31:08 UTC
(
hide
)
Description:
do gentoolkit.find_all_installed_packages look like gentoolkit.find_all_uninstalled_packages
Filename:
MIME Type:
Creator:
Hanno Zysik (geki)
Created:
2005-05-07 10:31:08 UTC
Size:
664 bytes
patch
obsolete
>--- /usr/lib/gentoolkit/pym/gentoolkit/helpers.py.orig 2005-05-07 19:36:54.308951816 +0200 >+++ /usr/lib/gentoolkit/pym/gentoolkit/helpers.py 2005-05-07 19:37:35.400704920 +0200 >@@ -94,11 +94,8 @@ > def find_all_installed_packages(prefilter=None): > """Returns a list of all installed packages, after applying the prefilter > function""" >- t = vartree.dbapi.cpv_all() >- if prefilter: >- t = filter(prefilter,t) >- >- return [Package(x) for x in t] >+ alist = find_all_packages(prefilter) >+ return [x for x in alist if x.is_installed()] > > def find_all_uninstalled_packages(prefilter=None): > """Returns a list of all uninstalled packages, after applying the prefilter
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 69456
: 58285 |
58289
|
58290