aboutsummaryrefslogtreecommitdiff
path: root/grs
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-10-08 19:58:04 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-10-08 19:58:04 -0400
commitaad8f61094ca20dcad007e6ab97b94c9f8efcfc5 (patch)
tree0a04259c441aa08a8a48af92a79ff89d71dfa631 /grs
parentconf/systems.conf: update stage links. (diff)
downloadgrss-aad8f61094ca20dcad007e6ab97b94c9f8efcfc5.tar.gz
grss-aad8f61094ca20dcad007e6ab97b94c9f8efcfc5.tar.bz2
grss-aad8f61094ca20dcad007e6ab97b94c9f8efcfc5.zip
grs/WorldConf.py: fix renaming s -> _section.
Diffstat (limited to 'grs')
-rw-r--r--grs/WorldConf.py2
1 files changed, 1 insertions, 1 deletions
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)