[yum-cvs] cli.py output.py

Seth Vidal skvidal at linux.duke.edu
Tue Sep 4 16:30:47 UTC 2007


 cli.py    |    2 +-
 output.py |    6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit d5c4aa340d45d56372832f28ff558a4a4c9efd48
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Sep 4 12:29:24 2007 -0400

    fix up the rest of the places the typo impacts and maintain api

diff --git a/cli.py b/cli.py
index 4459699..ff75d51 100644
--- a/cli.py
+++ b/cli.py
@@ -1170,7 +1170,7 @@ class YumOptionParser(OptionParser):
                     sys.exit(1)
 
             # setup the progress bars/callbacks
-            self.base.setupProgessCallbacks()
+            self.base.setupProgressCallbacks()
                     
             # Process repo enables and disables in order
             for opt, repoexp in opts.repos:
diff --git a/output.py b/output.py
index fa834bf..0f5eb5a 100644
--- a/output.py
+++ b/output.py
@@ -352,7 +352,11 @@ Remove   %5.5s Package(s)
         # setup our depsolve progress callback
         dscb = DepSolveProgressCallBack()
         self.dsCallback = dscb
-            
+    
+    def setupProgessCallbacks(self):
+        # api purposes only to protect the typo
+        self.setupProgressCallbacks()
+        
     def interrupt_callback(self, cbobj):
         '''Handle CTRL-C's during downloads
 



More information about the Yum-cvs-commits mailing list