[PATCH] Errors downloading .treeinfo files should not be logged as errors.

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

 



At least in Fedora, there won't be a .treeinfo file at the mirror manager
URL.  So when we attempt to fetch the addon list, it'll look like there
is a real problem when it's an expected situation.  Log appropriately.
---
 pyanaconda/yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 54afb10..4ceafcc 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -729,7 +729,7 @@ class AnacondaYum(YumSorter):
                        copy_local=1, proxies=proxies)
             return "/tmp/.treeinfo"
         except Exception as e:
-            log.error("Error downloading %s/.treeinfo: %s" % (baseurl, e))
+            log.info("Error downloading %s/.treeinfo: %s" % (baseurl, e))
             return None
 
     def _getReleasever(self):
-- 
1.7.1.1

_______________________________________________
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