[yum-git] Branch 'yum-3_2_X' - shell.py

James Antill james at linux.duke.edu
Thu Aug 21 23:02:13 UTC 2008


 shell.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 773aea065211864cf3c53f24766f4656246ec56e
Author: James Antill <james at and.org>
Date:   Thu Aug 21 19:01:54 2008 -0400

    Make "echo repo list | yum shell" show just enabled, like "yum repolist"

diff --git a/shell.py b/shell.py
index 4f5bf8f..4c490e8 100644
--- a/shell.py
+++ b/shell.py
@@ -257,7 +257,7 @@ class YumShell(cmd.Cmd):
             cmds = self._shlex_split(args)
 
             if not cmds:
-                cmds = ['all']
+                cmds = ['enabled']
             cmds.insert(0, 'repolist')
             self.base.cmds = cmds
 



More information about the Yum-cvs-commits mailing list