Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 107771 Details for
Bug 163219
portage-2.1.2 trace back in globalupdate with binpkg
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
handle binpkgs that have missing PF metadata
corrupt_binpkg.patch (text/plain), 817 bytes, created by
Zac Medico
on 2007-01-22 11:29:05 UTC
(
hide
)
Description:
handle binpkgs that have missing PF metadata
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-01-22 11:29:05 UTC
Size:
817 bytes
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 5756) >+++ pym/portage.py (revision 5757) >@@ -6518,8 +6518,9 @@ > mytbz2 = xpak.tbz2(full_path) > # For invalid packages, mycat could be None. > mycat = mytbz2.getfile("CATEGORY") >+ mypf = mytbz2.getfile("PF") > mypkg = myfile[:-5] >- if not mycat: >+ if not mycat or not mypf: > #old-style or corrupt package > writemsg("!!! Invalid binary package: '%s'\n" % full_path, > noiselevel=-1) >@@ -6531,7 +6532,7 @@ > mycat = mycat.strip() > if mycat != mydir and mydir != "All": > continue >- if mypkg != mytbz2.getfile("PF").strip(): >+ if mypkg != mypf.strip(): > continue > mycpv = mycat + "/" + mypkg > if mycpv in pkg_paths:
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 163219
: 107771