summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-09-07 13:37:20 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-09-07 13:37:20 +0200
commit5498a3d94354732d215e23beeb9c07a47616cabb (patch)
tree1736eb4aa18d8025b688b08be843a8a0338725dc /python/cache.cc
parentbc301a8f07e50c7a14973b10fa4cb95f7a2beff2 (diff)
parent3aaf50270475e0a2a5fc8e7783e2f8917f8ac327 (diff)
downloadpython-apt-5498a3d94354732d215e23beeb9c07a47616cabb.tar.gz
* add "provides" property to the apt.Version objects
* apt/debfile.py: - fix error when reading binary content and add regresion test * merged patch from Samuel Lidén Borell to fix crash if there utf8 in the control file (LP: #624290) and add test * apt/cache.py: - add "sources_list" parameter to cache.update() to force updating a single sources.list entry only * debian/control: - add missing build-depends on python-debian (needed to run the tests for apt.debfile.DebPackage()
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/cache.cc b/python/cache.cc
index e31f6a65..cd51fcc3 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -979,8 +979,9 @@ static PyGetSetDef VersionGetSet[] = {
{"priority_str",VersionGetPriorityStr,0,
"The priority of the package, as a string."},
{"provides_list",VersionGetProvidesList,0,
- "A list of all packages provided by this version. See\n"
- "Package.provides_list for a description of the format."},
+ "A list of all packages provided by this version. The list contains\n"
+ "tuples in the format (providesname, providesver, version)\n"
+ "where 'version' is an apt_pkg.Version object."},
{"section",VersionGetSection,0,
"The section of this package version."},
{"size",VersionGetSize,0,