summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-04-08 00:51:04 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-04-08 00:51:04 +0000
commit8f914ef267ab1bbcbda1c6694edd2e4c9b6401ec (patch)
treeed06ac66d1e0675a77080bf5a5d6f33e3c492d52 /python/cache.cc
parent7e76103c2b13d27f4a9987b1f9fca50504177268 (diff)
downloadpython-apt-8f914ef267ab1bbcbda1c6694edd2e4c9b6401ec.tar.gz
* started the DepCache.Commit() interface
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc4
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)