[yum-cvs] cli.py
Seth Vidal
skvidal at linux.duke.edu
Sat Aug 11 07:13:38 UTC 2007
cli.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 685de0ee899b8e89080c14acea7a65f4cb4ae493
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Sat Aug 11 03:11:27 2007 -0400
nuke the depsolve callback when we're running the rpm_check_debug() otherwise
we get all the --> output twice. closes rh bug: 251576
diff --git a/cli.py b/cli.py
index ac2e660..7ccfad7 100644
--- a/cli.py
+++ b/cli.py
@@ -1085,6 +1085,9 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
def _run_rpm_check_debug(self):
import rpm
results = []
+ # save our dsCallback out
+ dscb = self.dsCallback
+ self.dsCallback = None # dumb, dumb dumb dumb!
self.populateTs(test=1)
deps = self.ts.check()
for deptuple in deps:
@@ -1100,7 +1103,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
(name, rpmUtils.miscutils.formatRequire(needname,
needversion, flags))
results.append(msg)
-
+ self.dsCallback = dscb
return results
class YumOptionParser(OptionParser):
More information about the Yum-cvs-commits
mailing list