[yum-cvs] yum/config.py

Seth Vidal skvidal at linux.duke.edu
Fri Aug 17 05:47:52 UTC 2007


 yum/config.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 49034e6c8ceef4791bc6dc1f27a3bb6eeb8a87a7
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Fri Aug 17 01:47:42 2007 -0400

    I don't know why I didn't think of this before. If we cannot find anything for our
    releasever variable - just return the variable unmodified - don't return this 'Null' silliness.

diff --git a/yum/config.py b/yum/config.py
index ecfb890..633006a 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -674,7 +674,7 @@ def _getsysver(installroot, distroverpkg):
     # we're going to take the first one - if there is more than one of these
     # then the user needs a beating
     if idx.count() == 0:
-        releasever = 'Null'
+        releasever = '$releasever'
     else:
         hdr = idx.next()
         releasever = hdr['version']



More information about the Yum-cvs-commits mailing list