[yum-commits] cli.py etc/yum.bash

Ville Skyttä scop at osuosl.org
Fri Dec 2 19:35:58 UTC 2011


 cli.py       |    2 +-
 etc/yum.bash |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 36f137baeee9c3934b1e6ffcad5129cc2e7f9c5c
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Dec 1 22:18:52 2011 +0200

    Output grouplist also with -d < 2.

diff --git a/cli.py b/cli.py
index 7bd341d..e939df6 100755
--- a/cli.py
+++ b/cli.py
@@ -1536,7 +1536,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
                 msg += ' (%s)' % group.groupid
             if group.langonly:
                 msg += ' [%s]' % group.langonly
-            self.verbose_logger.log(yum.logginglevels.INFO_2, '%s', msg)
+            self.verbose_logger.info('%s', msg)
 
         done = False
         for group in installed:
diff --git a/etc/yum.bash b/etc/yum.bash
index c0e9c6b..f6a0039 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -44,8 +44,7 @@ _yum_repolist()
 _yum_grouplist()
 {
     local IFS=$'\n'
-    # TODO: add -d 0 when http://yum.baseurl.org/ticket/29 is fixed
-    COMPREPLY=( $( compgen -W "$( ${yum:-yum} -C grouplist $1 \
+    COMPREPLY=( $( compgen -W "$( ${yum:-yum} -d 0 -C grouplist $1 \
         2>/dev/null | sed -e 's/[[:space:]]\{1,\}\[.*$//' \
         -ne 's/^[[:space:]]\{1,\}\(.\{1,\}\)/\1/p' )" \
         -- "$2" ) )


More information about the Yum-commits mailing list