diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-08-21 16:55:11 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-08-21 16:55:11 +0200 |
| commit | dea3fad6d30e85f184d34e80490ad24ac89a9438 (patch) | |
| tree | cc437e0777a88423199bcd15ac464e400b35ffe8 /doc/source/library | |
| parent | e3c630140e6595126046866a40e11e90c74278f2 (diff) | |
| parent | 63ea10b9f81725c9304aa729de4a3768a28b4c81 (diff) | |
| download | python-apt-dea3fad6d30e85f184d34e80490ad24ac89a9438.tar.gz | |
Merge 0.7.13.0 from unstable.
Diffstat (limited to 'doc/source/library')
| -rw-r--r-- | doc/source/library/apt.cache.rst | 5 | ||||
| -rw-r--r-- | doc/source/library/apt_pkg.rst | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/source/library/apt.cache.rst b/doc/source/library/apt.cache.rst index ddb2dc64..d0e44598 100644 --- a/doc/source/library/apt.cache.rst +++ b/doc/source/library/apt.cache.rst @@ -70,6 +70,11 @@ packages whose state has been changed, eg. packages marked for installation:: >>> print len(changed) == len(cache.get_changes()) # Both need to have same length True +The ProblemResolver class +-------------------------- + +.. autoclass:: ProblemResolver + :members: Exceptions ---------- diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst index ee0c33ef..720b61a3 100644 --- a/doc/source/library/apt_pkg.rst +++ b/doc/source/library/apt_pkg.rst @@ -41,13 +41,16 @@ Working with the cache Return the :class:`Package()` object for the package name given by *pkgname*. - .. method:: update(progress, list) + .. method:: update(progress, list[, pulse_interval]) Update the package cache. The parameter *progress* points to an :class:`apt.progress.FetchProgress()` object. The parameter *list* refers to a :class:`SourceList()` object. + The optional parameter *pulse_interval* describes the interval between + the calls to the :meth:`FetchProgress.pulse` method. + .. attribute:: depends_count The total number of dependencies. |
