diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-04-08 00:51:04 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-04-08 00:51:04 +0000 |
| commit | 8f914ef267ab1bbcbda1c6694edd2e4c9b6401ec (patch) | |
| tree | ed06ac66d1e0675a77080bf5a5d6f33e3c492d52 /python/cache.cc | |
| parent | 7e76103c2b13d27f4a9987b1f9fca50504177268 (diff) | |
| download | python-apt-8f914ef267ab1bbcbda1c6694edd2e4c9b6401ec.tar.gz | |
* started the DepCache.Commit() interface
Diffstat (limited to 'python/cache.cc')
| -rw-r--r-- | python/cache.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/cache.cc b/python/cache.cc index 126ab15d..e8b947f4 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -17,6 +17,8 @@ #include <apt-pkg/configuration.h> #include <apt-pkg/sourcelist.h> #include <apt-pkg/error.h> +#include <apt-pkg/packagemanager.h> +#include <apt-pkg/pkgsystem.h> #include <Python.h> #include "progress.h" @@ -114,9 +116,11 @@ static PyObject *PkgCacheUpdate(PyObject *Self,PyObject *Args) } + static PyMethodDef PkgCacheMethods[] = { {"Update",PkgCacheUpdate,METH_VARARGS,"Update the cache"}, + {} }; static PyObject *CacheAttr(PyObject *Self,char *Name) |
