[yum-cvs] cli.py
Jeremy Katz
katzj at linux.duke.edu
Thu Sep 13 19:56:15 UTC 2007
cli.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit ee7e5205c5ce8eb07e48e2781f06a3f5e70c8810
Author: Jeremy Katz <katzj at redhat.com>
Date: Thu Sep 13 15:54:50 2007 -0400
more making things obvious to people when they request things which
are already installed or which aren't available (rh#261001)
diff --git a/cli.py b/cli.py
index 1fc0594..07a93c5 100644
--- a/cli.py
+++ b/cli.py
@@ -467,7 +467,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
my_inst_pkgs = []
if my_inst_pkgs:
- self.verbose_logger.log(yum.logginglevels.DEBUG_3,
+ self.verbose_logger.log(yum.logginglevels.INFO_2,
'Requested dep: %s is provided by installed package', str(arg))
continue # we don't need to look, we have it
@@ -490,6 +490,10 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
installable = yum.misc.unique(exactmatch + matched)
exactarchlist = self.conf.exactarchlist
+
+ if len(installable) == 0:
+ self.verbose_logger.log(yum.logginglevels.INFO_2,
+ 'No package %s available.', arg)
# we look through each returned possibility and rule out the
# ones that we obviously can't use
More information about the Yum-cvs-commits
mailing list