diff options
| author | Julian Andres Klode <jak@debian.org> | 2011-04-05 14:46:16 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2011-04-05 14:46:16 +0200 |
| commit | 5cc6fcb55f1fa50094a56644178c5e728deb83a4 (patch) | |
| tree | eeeac19476dba9ef34122a91d5d528e700c98fb6 /doc/source | |
| parent | 4548cac388f26cec60f1cef028421db910385565 (diff) | |
| download | python-apt-5cc6fcb55f1fa50094a56644178c5e728deb83a4.tar.gz | |
Change apt_pkg.Cache() so that passing None for 'progress' results in
no progress output
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/library/apt_pkg.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst index 1b75a154..709648ac 100644 --- a/doc/source/library/apt_pkg.rst +++ b/doc/source/library/apt_pkg.rst @@ -40,7 +40,8 @@ Working with the cache The constructor takes an optional argument which must be a subclass of :class:`apt.progress.base.OpProgress`. This object will then be used to display information during the cache opening process (or possible creation - of the cache). + of the cache). It may also be ``None``, in which case no progress will + be emitted. If not given, progress will be printed to standard output. .. describe:: cache[pkgname] |
