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

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



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


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