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

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



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


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