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 0E6C3138010 for ; Thu, 20 Sep 2012 02:36:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6247DE0529; Thu, 20 Sep 2012 02:36:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0EBA4E0529 for ; Thu, 20 Sep 2012 02:36: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 42D8933C82B for ; Thu, 20 Sep 2012 02:36:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 8F380E5444 for ; Thu, 20 Sep 2012 02:36:16 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1348108563.c4a5a11080868abae6864e8fe6ab0ba2340ed51c.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/package/ebuild/config.py X-VCS-Directories: pym/portage/package/ebuild/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c4a5a11080868abae6864e8fe6ab0ba2340ed51c X-VCS-Branch: master Date: Thu, 20 Sep 2012 02:36:16 +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: bd62b8c3-8c56-4aa3-bc86-470464f284dc X-Archives-Hash: 8255c3a619e0c735a8a367e54e43dc4f commit: c4a5a11080868abae6864e8fe6ab0ba2340ed51c Author: Zac Medico gentoo org> AuthorDate: Thu Sep 20 02:36:03 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Sep 20 02:36:03 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c4a5a110 config: _eapi_cache.clear() beginning constructor This is important when config is reloaded after emerge --sync. --- pym/portage/package/ebuild/config.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index c1630cb..d2f62ac 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -178,6 +178,9 @@ class config(object): @type _unmatched_removal: Boolean """ + # This is important when config is reloaded after emerge --sync. + _eapi_cache.clear() + # When initializing the global portage.settings instance, avoid # raising exceptions whenever possible since exceptions thrown # from 'import portage' or 'import portage.exceptions' statements