summaryrefslogtreecommitdiff
path: root/python/depcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-06-03 09:07:45 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-06-03 09:07:45 +0000
commitba52c2411c020e528e65450c7dfaf62525d45a78 (patch)
tree2afa0c4710c6ef5eeb4cd3e01bfda6566a99a70c /python/depcache.cc
parent64ac76c04670fdf45da3c0ccab69d6427fd391e4 (diff)
downloadpython-apt-ba52c2411c020e528e65450c7dfaf62525d45a78.tar.gz
* fixes, MarkedInstall() checks for "NewInstall()" now, we have "Upgrade()" to check for upgrades
Diffstat (limited to 'python/depcache.cc')
-rw-r--r--python/depcache.cc2
1 files changed, 1 insertions, 1 deletions
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<pkgCache::PkgIterator>(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)