[yum-git] yumcommands.py

James Antill james at linux.duke.edu
Wed Apr 2 13:32:38 UTC 2008


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

New commits:
commit 1aca4a3c1a648219b3fe748e27fd20764ae75fc2
Author: James Antill <james at and.org>
Date:   Wed Apr 2 09:32:34 2008 -0400

    If they do "yum list installed blah" we still do not need the Ts

diff --git a/yumcommands.py b/yumcommands.py
index 185ac35..0afcf66 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -236,7 +236,7 @@ class InfoCommand(YumCommand):
             return 0, []
 
     def needTs(self, base, basecmd, extcmds):
-        if len(extcmds) and extcmds == ['installed']:
+        if len(extcmds) and extcmds[0] == 'installed':
             return False
         
         return True



More information about the Yum-cvs-commits mailing list