From de457bf476143b1f617378c7215503b777a743cc Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 5 Aug 2005 09:23:13 +0000 Subject: * improved the examples, added README too --- python/progress.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'python/progress.cc') diff --git a/python/progress.cc b/python/progress.cc index 33b4ed97..f79090f7 100644 --- a/python/progress.cc +++ b/python/progress.cc @@ -165,8 +165,11 @@ bool PyFetchProgress::Pulse(pkgAcquire * Owner) RunSimpleCallback("pulse", arglist, &result); bool res = true; - if(!PyArg_Parse(result, "b", &res)) - std::cerr << "result could not be parsed" << std::endl; + if(!PyArg_Parse(result, "b", &res)) + { + // mvo: this is harmless, we shouldn't print anything here + //std::cerr << "result could not be parsed" << std::endl; + } // fetching can be canceld by returning false return res; -- cgit v1.2.3