Use baseurl instead of methodstr to get release version (#604246)
Ack.
On Tue, 15 Jun 2010, Radek Vykydal wrote:
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
--
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|