commit:     aad8f61094ca20dcad007e6ab97b94c9f8efcfc5
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  8 23:58:04 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> 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)

Reply via email to