Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 242881 Details for
Bug 327209
app-portage/gentoolkit-0.2.4.6.1-r1 glsa-check DeprecationWarning: invalid input to portage.dep.dep_getkey
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
gentoolkit-glsa-check-patch-327209 (text/plain), 1.07 KB, created by
Tim Sammut (RETIRED)
on 2010-08-14 03:37:46 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Tim Sammut (RETIRED)
Created:
2010-08-14 03:37:46 UTC
Size:
1.07 KB
patch
obsolete
>--- ./glsa-check 2010-08-13 22:24:03.000000000 -0500 >+++ /usr/bin/glsa-check 2010-05-02 11:54:28.000000000 -0500 >@@ -237,7 +237,7 @@ > fd1.write("... ") > else: > for pkg in myglsa.packages.keys(): >- mylist = vardb.match(portage.cpv_getkey(str(pkg))) >+ mylist = vardb.match(portage.dep_getkey(str(pkg))) > if len(mylist) > 0: > pkg = color(" ".join(mylist)) > fd1.write(" " + pkg + " ") >@@ -289,12 +289,12 @@ > sys.stdout.write("The following updates will be performed for this GLSA:\n") > for pkg in mergelist: > oldver = None >- for x in vardb.match(portage.cpv_getkey(pkg)): >+ for x in vardb.match(portage.dep_getkey(pkg)): > if vardb.aux_get(x, ["SLOT"]) == portdb.aux_get(pkg, ["SLOT"]): > oldver = x > if oldver == None: > raise ValueError("could not find old version for package %s" % pkg) >- oldver = oldver[len(portage.cpv_getkey(oldver))+1:] >+ oldver = oldver[len(portage.dep_getkey(oldver))+1:] > sys.stdout.write(" " + pkg + " (" + oldver + ")\n") > else: > sys.stdout.write("Nothing to do for this GLSA\n")
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 327209
: 242881