[PATCH rhel6-branch] Use baseurl instead of methodstr to get release version (#604246)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With baseurl, it fails for hd:... install methods.
---
 yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 603e145..b4d7197 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -641,7 +641,7 @@ class AnacondaYum(YumSorter):
     def _getReleasever(self):
         c = ConfigParser()
 
-        treeinfo = self._getTreeinfo(self.anaconda.methodstr)
+        treeinfo = self._getTreeinfo(self._baseRepoURL)
         if not treeinfo:
             return productVersion
 
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux