[master 1/1] Cleaner logging of .treeinfo return conditions in dependant function
jcpunk
installerbot-noreply at redhat.com
Mon Oct 19 15:01:09 UTC 2015
From: Pat Riehecky <riehecky at fnal.gov>
---
pyanaconda/packaging/__init__.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/packaging/__init__.py b/pyanaconda/packaging/__init__.py
index a260d7b..59158b6 100644
--- a/pyanaconda/packaging/__init__.py
+++ b/pyanaconda/packaging/__init__.py
@@ -405,8 +405,10 @@ def _getReleaseVersion(self, url):
version = "rawhide"
except configparser.Error:
pass
+ log.debug("got a release version of %s", version)
+ else:
+ log.debug("no treeinfo returned, using fallthrough of %s", version)
- log.debug("got a release version of %s", version)
return version
##
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/1bbcdea85b88c769e7e04d9eb956da0125d3a9d7
More information about the anaconda-patches
mailing list