Show the exception text (reason why _loadRepoXML() has failed).
---
yum/yumRepo.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 7375813..d847523 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -1466,6 +1466,7 @@ Insufficient space in download directory %s
try:
self._loadRepoXML(text=self)
except Errors.RepoError, e:
+ logger.error(unicode(e))
msg = ("Cannot retrieve repository metadata (repomd.xml) for
repository: %s. "
"Please verify its path and try again" % self )
raise Errors.RepoError, msg
--
1.7.4.4
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel