summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-13 19:28:33 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-13 19:28:33 +0200
commitebedf54fd4c72bfbf5c5e60d3d908cd66acace95 (patch)
treecb9651c1dd64a0326d1cca31c560c727eebf8b8b /python/cache.cc
parent62d7f4b80d56ef1e27039441cd6584cfb71d6502 (diff)
downloadpython-apt-ebedf54fd4c72bfbf5c5e60d3d908cd66acace95.tar.gz
* python/cache.cc: Add support for the Breaks fields
This also fixes problems on packages with Breaks field, where the lookup of the field name leads to some unprintable characters (because the index exceeds the number of items).
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cache.cc b/python/cache.cc
index 0c59f561..4db097c7 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -502,7 +502,7 @@ static PyObject *MakeDepends(PyObject *Owner,pkgCache::VerIterator &Ver,
{
"", "Depends","PreDepends","Suggests",
"Recommends","Conflicts","Replaces",
- "Obsoletes"
+ "Obsoletes", "Breaks"
};
PyObject *Dep = PyString_FromString(Types[Start->Type]);
LastDepType = Start->Type;