summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-05-04 08:36:36 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-05-04 08:36:36 +0000
commit69a3c876af74e2499b5068441b5d89ca53c3583a (patch)
treefad0d73c9c71a606a37fc5c9552aa56df48ab6f2 /python/cache.cc
parent52ecc81517a1fa9748d04f0c0d05ce8396233b71 (diff)
downloadpython-apt-69a3c876af74e2499b5068441b5d89ca53c3583a.tar.gz
* more tests added
* tests/cache.py: - test that iterates over all the cache and dependencies * tests/pkgrecords.py - test that iterates over all the pkgrecords * python/cache.cc - added a comment * python/pkgrecords.cc - return "True" from pkgRecord.Lookup() (to make it consistent with the PkgSrcRecords object)
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/cache.cc b/python/cache.cc
index e8b947f4..850a97de 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -613,6 +613,7 @@ PyTypeObject PackageFileType =
};
+// depends class
static PyObject *DependencyRepr(PyObject *Self)
{
pkgCache::DepIterator &Dep = GetCpp<pkgCache::DepIterator>(Self);