[yum-git] yum/config.py

Seth Vidal skvidal at linux.duke.edu
Wed Jun 11 16:52:32 UTC 2008


 yum/config.py |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit fe3e3da989f112f9aaf4f2787d5abb20311684ed
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Jun 11 12:51:33 2008 -0400

    commit comment correction for config.py from Kulbir Saini

diff --git a/yum/config.py b/yum/config.py
index 2881709..eca8200 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -832,10 +832,8 @@ def writeRawRepoFile(repo,only=None):
     fp.close()
 
 #def main():
-#    mainconf = readMainConfig('/etc/yum/yum.conf', '/')
-#    repoconf = readRepoConfig(mainconf.cfg, 'core', mainconf)
-#
-#    print `repoconf.name`
+#    mainconf = readMainConfig(readStartupConfig('/etc/yum/yum.conf', '/'))
+#    print mainconf.cachedir
 #
 #if __name__ == '__main__':
 #    main()



More information about the Yum-cvs-commits mailing list