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 E26F413888F for ; Thu, 8 Oct 2015 23:52:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B73FE07BA; Thu, 8 Oct 2015 23:52:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5D7CE07BA for ; Thu, 8 Oct 2015 23:52:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92418340755 for ; Thu, 8 Oct 2015 23:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C816EC9C for ; Thu, 8 Oct 2015 23:52:25 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1444348684.aad8f61094ca20dcad007e6ab97b94c9f8efcfc5.blueness@gentoo> Subject: [gentoo-commits] proj/grss:master commit in: grs/ X-VCS-Repository: proj/grss X-VCS-Files: grs/WorldConf.py X-VCS-Directories: grs/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: aad8f61094ca20dcad007e6ab97b94c9f8efcfc5 X-VCS-Branch: master Date: Thu, 8 Oct 2015 23:52:25 +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: 5028e604-dc57-440f-9a8a-e4c8ff92b43e X-Archives-Hash: 6d0ec2cc68c48defdebb8a247c098a7c commit: aad8f61094ca20dcad007e6ab97b94c9f8efcfc5 Author: Anthony G. Basile gentoo org> AuthorDate: Thu Oct 8 23:58:04 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Oct 8 23:58:04 2015 +0000 URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=aad8f610 grs/WorldConf.py: fix renaming s -> _section. grs/WorldConf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grs/WorldConf.py b/grs/WorldConf.py index bad4f83..48b93af 100644 --- a/grs/WorldConf.py +++ b/grs/WorldConf.py @@ -53,7 +53,7 @@ class WorldConf(): ) config.read(CONST.WORLD_CONFIG) for _section in config.sections(): - for (directory, value) in config[s].items(): + for (directory, value) in config[_section].items(): p_slot_atom = re.sub(r'[/:]', '_', _section) dpath = os.path.join(CONST.PORTAGE_CONFIGDIR, directory) fpath = os.path.join(dpath, p_slot_atom)