Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57657 Details for
Bug 90680
equery can require an excessive amount of memory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
package.py patch
package.py.patch (text/plain), 840 bytes, created by
Paul Varner (RETIRED)
on 2005-04-30 01:29:00 UTC
(
hide
)
Description:
package.py patch
Filename:
MIME Type:
Creator:
Paul Varner (RETIRED)
Created:
2005-04-30 01:29:00 UTC
Size:
840 bytes
patch
obsolete
>--- package.py.orig 2005-04-25 19:38:06.000000000 -0500 >+++ package.py 2005-04-30 03:21:16.000000000 -0500 >@@ -23,8 +23,7 @@ > if not self._scpv: > raise FatalError("invalid cpv: %s" % cpv) > self._db = None >- settings.setcpv(self._cpv) >- self._settings = portage.config(clone=settings) >+ self._settings = settings > > def get_name(self): > """Returns base name of package, no category nor version""" >@@ -44,7 +43,13 @@ > def get_settings(self, key): > """Returns the value of the given key for this package (useful > for package.* files.""" >- return self._settings[key] >+ if key == 'USE' or key == 'PKGUSE': >+ self._settings.setcpv(self._cpv) >+ v = self._settings[key] >+ self._settings.reset() >+ else: >+ v = self._settings[key] >+ return v > > def get_cpv(self): > """Returns full Category/Package-Version string"""
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 90680
:
57449
|
57450
|
57657
|
57658
|
68588
|
68874
|
68900