Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 68588 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), 761 bytes, created by
Paul Varner (RETIRED)
on 2005-09-16 09:49:01 UTC
(
hide
)
Description:
package.py.patch
Filename:
MIME Type:
Creator:
Paul Varner (RETIRED)
Created:
2005-09-16 09:49:01 UTC
Size:
761 bytes
patch
obsolete
>--- package.py.orig 2005-09-16 11:43:56.000000000 -0500 >+++ package.py 2005-09-16 11:44:53.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,10 @@ > def get_settings(self, key): > """Returns the value of the given key for this package (useful > for package.* files.""" >- return self._settings[key] >+ self._settings.setcpv(self._cpv) >+ v = self._settings[key] >+ self._settings.reset() >+ 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