Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 326764 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]
A simpler patch ;)
0001-p-i-e.py-handle-missing-_eclasses_-correctly.patch (text/plain), 778 bytes, created by
Michał Górny
on 2012-10-17 11:30:31 UTC
(
hide
)
Description:
A simpler patch ;)
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2012-10-17 11:30:31 UTC
Size:
778 bytes
patch
obsolete
>From 49d99b4600e33956e8d507a30b402b942541ca23 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Wed, 17 Oct 2012 13:30:14 +0200 >Subject: [PATCH] p-i-e.py: handle missing ['_eclasses_'] correctly. > >--- > packages-inheriting-eclasses.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/packages-inheriting-eclasses.py b/packages-inheriting-eclasses.py >index 0e88c42..c2ae5ae 100755 >--- a/packages-inheriting-eclasses.py >+++ b/packages-inheriting-eclasses.py >@@ -16,7 +16,7 @@ def main(argv): > output = collections.defaultdict(set) > > for p in portdir: >- for eclass in p.data['_eclasses_']: >+ for eclass in p.data.get('_eclasses_', ()): > output[eclass].add('%s/%s\n' % (p.category, p.PN)) > > try: >-- >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