Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Errors downloading .treeinfo files should not be logged as errors. (http://www.linux-archive.org/centos/445338-errors-downloading-treeinfo-files-should-not-logged-errors.html)

Chris Lumens 10-28-2010 06:05 PM

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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 09:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.