> >>> import apt
> >>> c=apt.Cache()
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Building data structures... Done
> 
> With the current lucid version this isn't so chatty, but doesn't output
> anything. This now causes a lot of screen garbage on stdout (and
> incidentally also breaking the jockey tests because they don't expect
> so much output). Is that really intended? Can it be silenced somehow
> with an argument to Cache()?

pass apt.progress.base.OpProgress() as the first argument. But IIRC, the
behavior should be the same as previously, maybe just on a different
output stream

-- 
Feature Freeze exception request
https://bugs.launchpad.net/bugs/531518
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to