From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D07B8138010 for ; Wed, 17 Oct 2012 13:03:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6ABBE00C2; Wed, 17 Oct 2012 13:03:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 38F92E00C2 for ; Wed, 17 Oct 2012 13:03:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D18D33C84E for ; Wed, 17 Oct 2012 13:03:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CCD50E5436 for ; Wed, 17 Oct 2012 13:03:15 +0000 (UTC) From: "Dane Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dane Smith" Message-ID: <1350478907.a2abfee1fa404d1bc711eeca2335433a6037129b.c1pher@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: packages-inheriting-eclasses.py X-VCS-Directories: / X-VCS-Committer: c1pher X-VCS-Committer-Name: Dane Smith X-VCS-Revision: a2abfee1fa404d1bc711eeca2335433a6037129b X-VCS-Branch: master Date: Wed, 17 Oct 2012 13:03:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e03b406f-ca36-44fa-b1c3-a21ba6d94ed2 X-Archives-Hash: 649494c1cbb949808e46122f240675f5 commit: a2abfee1fa404d1bc711eeca2335433a6037129b Author: Dane Smith gentoo org> AuthorDate: Wed Oct 17 13:01:47 2012 +0000 Commit: Dane Smith gentoo org> CommitDate: Wed Oct 17 13:01:47 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=a2abfee1 Add patch from Michał Górny for packages-inheriting-eclasses. Closes Bug 438506. --- packages-inheriting-eclasses.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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: