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

[rhel6-branch] Do not backtrace if repo is specified through kickstart only (#659781).



Related: rhbz#632526
---
 yuminstall.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 6a55273..994a9bc 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -682,6 +682,8 @@ class AnacondaYum(YumSorter):
         return retval
 
     def _getTreeinfo(self, baseurl):
+        if not baseurl:
+            return None
         if baseurl.startswith("http") or baseurl.startswith("ftp"):
             if not network.hasActiveNetDev():
                 if not self.anaconda.intf.enableNetwork():
-- 
1.7.3.2


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