summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-06-15 14:58:41 +0200
committerJulian Andres Klode <jak@debian.org>2009-06-15 14:58:41 +0200
commit7618780d7e0550897f87eecc4ab52d75b9c0ec39 (patch)
tree99a403e98d9ad4394d69f1c30adb1a973f243d24 /python
parentdc759b837ad5d7790fd54f081c1b95ffe76b926c (diff)
downloadpython-apt-7618780d7e0550897f87eecc4ab52d75b9c0ec39.tar.gz
Add support for Enhances as a dependency type (Closes: #416247)
Diffstat (limited to 'python')
-rw-r--r--python/cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cache.cc b/python/cache.cc
index 80a7a8a5..7e75ccab 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -711,7 +711,7 @@ static PyObject *MakeDepends(PyObject *Owner,pkgCache::VerIterator &Ver,
{
"", "Depends","PreDepends","Suggests",
"Recommends","Conflicts","Replaces",
- "Obsoletes", "Breaks"
+ "Obsoletes", "Breaks", "Enhances"
};
PyObject *Dep = PyString_FromString(Types[Start->Type]);
LastDepType = Start->Type;