From ba52c2411c020e528e65450c7dfaf62525d45a78 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 3 Jun 2005 09:07:45 +0000 Subject: * fixes, MarkedInstall() checks for "NewInstall()" now, we have "Upgrade()" to check for upgrades --- python/depcache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/depcache.cc b/python/depcache.cc index b7ed98ac..027fb9bb 100644 --- a/python/depcache.cc +++ b/python/depcache.cc @@ -358,7 +358,7 @@ static PyObject *PkgDepCacheMarkedInstall(PyObject *Self,PyObject *Args) pkgCache::PkgIterator &Pkg = GetCpp(PackageObj); pkgDepCache::StateCache &state = (*depcache)[Pkg]; - return HandleErrors(Py_BuildValue("b",state.Install())); + return HandleErrors(Py_BuildValue("b",state.NewInstall())); } static PyObject *PkgDepCacheMarkedUpgrade(PyObject *Self,PyObject *Args) -- cgit v1.2.3