Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 326640 Details for
Bug 438506
qa-scripts: packages-inheriting-eclasses.py failing due to missing ['_eclasses_'] in some packages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixing the issue
0001-p-i-e.py-handle-missing-_eclasses_-list-correctly.patch (text/plain), 896 bytes, created by
Michał Górny
on 2012-10-15 19:49:46 UTC
(
hide
)
Description:
Patch fixing the issue
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2012-10-15 19:49:46 UTC
Size:
896 bytes
patch
obsolete
>From a30e086c701ac02abb8beda28235cdd0f535b6c0 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Mon, 15 Oct 2012 21:47:11 +0200 >Subject: [PATCH] p-i-e.py: handle missing _eclasses_ list correctly. > >--- > packages-inheriting-eclasses.py | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/packages-inheriting-eclasses.py b/packages-inheriting-eclasses.py >index 0e88c42..6b32831 100755 >--- a/packages-inheriting-eclasses.py >+++ b/packages-inheriting-eclasses.py >@@ -16,8 +16,11 @@ def main(argv): > output = collections.defaultdict(set) > > for p in portdir: >- for eclass in p.data['_eclasses_']: >- output[eclass].add('%s/%s\n' % (p.category, p.PN)) >+ try: >+ for eclass in p.data['_eclasses_']: >+ output[eclass].add('%s/%s\n' % (p.category, p.PN)) >+ except KeyError: >+ pass > > try: > os.mkdir(outputdir) >-- >1.7.12.3 >
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 438506
:
326640
|
326764