Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/grss:master commit in: grs/
Date: Thu, 08 Oct 2015 23:52:35
Message-Id: 1444348684.aad8f61094ca20dcad007e6ab97b94c9f8efcfc5.blueness@gentoo
1 commit: aad8f61094ca20dcad007e6ab97b94c9f8efcfc5
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 8 23:58:04 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 8 23:58:04 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=aad8f610
7
8 grs/WorldConf.py: fix renaming s -> _section.
9
10 grs/WorldConf.py | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/grs/WorldConf.py b/grs/WorldConf.py
14 index bad4f83..48b93af 100644
15 --- a/grs/WorldConf.py
16 +++ b/grs/WorldConf.py
17 @@ -53,7 +53,7 @@ class WorldConf():
18 )
19 config.read(CONST.WORLD_CONFIG)
20 for _section in config.sections():
21 - for (directory, value) in config[s].items():
22 + for (directory, value) in config[_section].items():
23 p_slot_atom = re.sub(r'[/:]', '_', _section)
24 dpath = os.path.join(CONST.PORTAGE_CONFIGDIR, directory)
25 fpath = os.path.join(dpath, p_slot_atom)