diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-05 09:23:13 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-05 09:23:13 +0000 |
| commit | de457bf476143b1f617378c7215503b777a743cc (patch) | |
| tree | 71fabade43f9add41f6f1423fe39418b06c0d5bf /python/progress.cc | |
| parent | 698f8ba826e01386be5de57bc95b44a5f22454dd (diff) | |
| download | python-apt-de457bf476143b1f617378c7215503b777a743cc.tar.gz | |
* improved the examples, added README too
Diffstat (limited to 'python/progress.cc')
| -rw-r--r-- | python/progress.cc | 7 |
1 files changed, 5 insertions, 2 deletions
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; |
