diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-04-13 19:28:33 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-04-13 19:28:33 +0200 |
| commit | ebedf54fd4c72bfbf5c5e60d3d908cd66acace95 (patch) | |
| tree | cb9651c1dd64a0326d1cca31c560c727eebf8b8b /python/cache.cc | |
| parent | 62d7f4b80d56ef1e27039441cd6584cfb71d6502 (diff) | |
| download | python-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.cc | 2 |
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; |
