diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-06-15 14:58:41 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-06-15 14:58:41 +0200 |
| commit | 7618780d7e0550897f87eecc4ab52d75b9c0ec39 (patch) | |
| tree | 99a403e98d9ad4394d69f1c30adb1a973f243d24 | |
| parent | dc759b837ad5d7790fd54f081c1b95ffe76b926c (diff) | |
| download | python-apt-7618780d7e0550897f87eecc4ab52d75b9c0ec39.tar.gz | |
Add support for Enhances as a dependency type (Closes: #416247)
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rw-r--r-- | python/cache.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 55d3a834..9809d423 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ python-apt (0.7.92) UNRELEASED; urgency=low * apt/package.py: Return VersionList objects in Package.versions, which are sequences and also provide features of mappings. (small API BREAK) * apt/progress/__init__.py: Check for EINTR in select (Closes: #499296) + * Add support for Enhances as a dependency type (Closes: #416247) [ Sebastian Heinlein ] * apt/progress.py: Extract the package name from the status message 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; |
