From dbf6dd4e8d576eb8516b11e8d8861113bf4dfc52 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 7 Jan 2008 19:17:39 +0100 Subject: update to latest ListUpdate() --- python/cache.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/cache.cc') diff --git a/python/cache.cc b/python/cache.cc index 2bbeb14a..36e49710 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "progress.h" @@ -86,7 +87,7 @@ static PyObject *PkgCacheUpdate(PyObject *Self,PyObject *Args) PyFetchProgress progress; progress.setCallbackInst(pyFetchProgressInst); pkgSourceList *source = GetCpp(pySourcesList); - bool res = Cache->ListUpdate(progress, *source); + bool res = ListUpdate(progress, *source); PyObject *PyRes = Py_BuildValue("b", res); return HandleErrors(PyRes); -- cgit v1.2.3