[Yum-devel] [PATCH 2/2] Output grouplist also with -d < 2.
Ville Skyttä
ville.skytta at iki.fi
Thu Dec 1 20:19:32 UTC 2011
---
cli.py | 2 +-
etc/yum.bash | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
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 35ef2ed..0ccb2d3 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -39,8 +39,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" ) )
--
1.7.6.4
More information about the Yum-devel
mailing list