From e2d814ffc20e231a3b8201f7d66145939c99174c Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 21 Aug 2009 15:18:33 +0200 Subject: * apt/cache.py: Introduce ProblemResolver class (Closes: #542705) --- doc/source/apt/cache.rst | 5 +++++ doc/source/apt/index.rst | 3 +++ 2 files changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/source/apt/cache.rst b/doc/source/apt/cache.rst index d96cba97..beae74a2 100644 --- a/doc/source/apt/cache.rst +++ b/doc/source/apt/cache.rst @@ -70,6 +70,11 @@ packages whose state has been changed, eg. packages marked for installation:: >>> print len(changed) == len(cache.GetChanges()) # Both need to have same length True +The ProblemResolver class +-------------------------- + +.. autoclass:: ProblemResolver + :members: Exceptions ---------- diff --git a/doc/source/apt/index.rst b/doc/source/apt/index.rst index 5047a0fd..bf39354f 100644 --- a/doc/source/apt/index.rst +++ b/doc/source/apt/index.rst @@ -56,3 +56,6 @@ in the package. Please see :class:`apt.package.Package` for documentation. +.. class:: ProblemResolver + + Please see :class:`apt.cache.ProblemResolver` for documentation. -- cgit v1.2.3 From e83c5284ab4b9624bc115bb5d39f2ae84c4230e2 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 21 Aug 2009 16:01:48 +0200 Subject: doc/source/apt_pkg/cache.rst: Document pulseInterval in Cache.Update(). --- doc/source/apt_pkg/cache.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/source/apt_pkg/cache.rst b/doc/source/apt_pkg/cache.rst index af67d82f..334b7869 100644 --- a/doc/source/apt_pkg/cache.rst +++ b/doc/source/apt_pkg/cache.rst @@ -227,7 +227,7 @@ Classes in apt_pkg Open the package cache again. The parameter *progress* may be set to an :class:`apt.progress.OpProgress()` object or `None`. - .. method:: Update(progress, list) + .. method:: Update(progress, list[, pulseInterval]) Update the package cache. @@ -237,6 +237,9 @@ Classes in apt_pkg The parameter *list* refers to an object as returned by :func:`apt_pkg.GetPkgSourceList`. + The optional parameter *pulseInterval* describes the interval between + the calls to the :meth:`FetchProgress.pulse` method. + .. attribute:: DependsCount The total number of dependencies. -- cgit v1.2.3