commit:     8ef13ec8d489f876c4c335e0982d7acfe151a222
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  1 16:55:30 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jul  1 16:55:30 2015 +0000
URL:        https://gitweb.gentoo.org/proj/grss.git/commit/?id=8ef13ec8

grs/WorldConf.py: clean up variable name.

 grs/WorldConf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/grs/WorldConf.py b/grs/WorldConf.py
index ba683cd..d8140d8 100644
--- a/grs/WorldConf.py
+++ b/grs/WorldConf.py
@@ -14,7 +14,7 @@ class WorldConf():
     """
 
     @staticmethod
-    def conf2file(config, s, portage_dir):
+    def conf2file(config, s, portage_confdir):
         """ doc here
             more doc
         """
@@ -23,7 +23,7 @@ class WorldConf():
                 # a '+' at the beginging means append to the file
                 undecorated_f = re.sub('^\+', '', f)
 
-                filepath = os.path.join(portage_dir, undecorated_f)
+                filepath = os.path.join(portage_confdir, undecorated_f)
                 dirpath  = os.path.dirname(filepath)
                 os.makedirs(dirpath, mode=0o755, exist_ok=True)
                 if f == undecorated_f or not os.path.exists(filepath):
@@ -49,7 +49,7 @@ class WorldConf():
         config.read(CONST.WORLD_CONFIG)
 
         for s in config.sections():
-            WorldConf.conf2file(config, s, portage_dir=CONST.PORTAGE_CONFIGDIR)
+            WorldConf.conf2file(config, s, 
portage_confdir=CONST.PORTAGE_CONFIGDIR)
 
 
     @staticmethod

Reply via email to