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

[PATCH 4/6 master] Use baseurl instead of methodstr to get .treeinfo (#604246)



From: Radek Vykydal <rvykydal redhat com>

Without the patch, it fails e.g. on hd:... install methods.
---
 pyanaconda/yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 4821bd6..28f5fb4 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -709,7 +709,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.7.2.3


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