[yum-commits] Branch 'yum-3_2_X' - cli.py

skvidal at osuosl.org skvidal at osuosl.org
Tue Nov 2 13:51:44 UTC 2010


 cli.py |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 51ed34139cc12306b04d176a04adeceaead33197
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Mon Nov 1 12:00:41 2010 -0400

    add a check to _checkMaybeYouMeant() to skip the lookup for things starting
    with @ since htey are groups and none of our checks intelligently check that
    anyway.

diff --git a/cli.py b/cli.py
index b3b760e..d5a85c4 100644
--- a/cli.py
+++ b/cli.py
@@ -619,6 +619,10 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
             to not being installed, tell the user. """
         # always_output is a wart due to update/remove not producing the
         # same output.
+        # if it is a grouppattern then none of this is going to make any sense
+        # skip it.
+        if  arg[0] == '@':
+            return
         matches = self.doPackageLists(patterns=[arg], ignore_case=False)
         if (matches.installed or (not matches.available and
                                   self.returnInstalledPackagesByDep(arg))):


More information about the Yum-commits mailing list