[Yum-devel] [PATCH] fix typo'd function name
Bill Nottingham
notting at redhat.com
Tue Sep 4 16:24:06 UTC 2007
The attached fixes a typo in a function name, and keeps the
old name around for compat. If you want to leave that part
out, that's fine.
Bill
-------------- next part --------------
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 cf10fb2..edb3912 100644
--- a/output.py
+++ b/output.py
@@ -328,7 +328,7 @@ Remove %5.5s Package(s)
return out
- def setupProgessCallbacks(self):
+ def setupProgressCallbacks(self):
"""sets up the progress callbacks and various
output bars based on debug level"""
@@ -352,6 +352,10 @@ Remove %5.5s Package(s)
# setup our depsolve progress callback
dscb = DepSolveProgressCallBack()
self.dsCallback = dscb
+
+ def setupProgessCallbacks(self):
+ self.setupProgressCallbacks()
+
def interrupt_callback(self, cbobj):
'''Handle CTRL-C's during downloads
More information about the Yum-devel
mailing list