Package: python-apt
Version: 0.7.100.2
Severity: wishlist

Hi,

when using Cache().update() it is required to reopen the cache with
Cache().open(), because otherwise the cache will be old
or even empty if run with empty list directories.

It would be nice, if update() supported that as an argument, e.g.

reopen=True

The default could be False to keep backward compatibility.

Apart from this the documentation really needs to state
that an open() is required after that. The info can be obtained
from the examples, but thats probably not the right place.
Better would be to state that requirement in update() documentation.

Best Regards,
Patrick



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to