[rhinstaller/anaconda/pulls/415 master] Cleaner logging of .treeinfo return conditions in dependant function
bcl
installerbot-noreply at redhat.com
Tue Oct 20 00:40:52 UTC 2015
> @@ -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)
>
I'd word them like this:
"using release version %s from treeinfo" and "using default release version of %s"
that way you can search the logs for 'release version' and find either result.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/415#discussion_r42444178
More information about the anaconda-patches
mailing list