[yum-cvs] cli.py

James Bowes jbowes at linux.duke.edu
Wed Oct 10 01:09:24 UTC 2007


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

New commits:
commit a41cd2727dbde55305959885d8af334e052bc292
Author: James Bowes <jbowes at redhat.com>
Date:   Tue Oct 9 21:04:47 2007 -0400

    Remove extra 'None' from output when showing help/usage.

diff --git a/cli.py b/cli.py
index 497f3d6..d6469c2 100644
--- a/cli.py
+++ b/cli.py
@@ -1042,11 +1042,11 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
 
     def usage(self):
         ''' Print out command line usage '''
-        print self.optparser.print_help()
+        self.optparser.print_help()
 
     def shellUsage(self):
         ''' Print out the shell usage '''
-        print self.optparser.print_usage()
+        self.optparser.print_usage()
     
     def _installable(self, pkg, ematch=False):
 



More information about the Yum-cvs-commits mailing list