summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/depcache.cc2
-rw-r--r--python/makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/python/depcache.cc b/python/depcache.cc
index 8a8cb22d..ae6da3b9 100644
--- a/python/depcache.cc
+++ b/python/depcache.cc
@@ -66,6 +66,8 @@ static PyObject *PkgDepCacheInit(PyObject *Self,PyObject *Args)
Struct.depcache->Init(0);
}
+ pkgApplyStatus(*Struct.depcache);
+
Py_INCREF(Py_None);
return HandleErrors(Py_None);
}
diff --git a/python/makefile b/python/makefile
index 273096a7..29bbaca9 100644
--- a/python/makefile
+++ b/python/makefile
@@ -11,7 +11,7 @@ SLIBS = -lapt-pkg
LIB_MAKES = apt-pkg/makefile
APT_PKG_SRC = apt_pkgmodule.cc configuration.cc generic.cc tag.cc string.cc \
cache.cc pkgrecords.cc pkgsrcrecords.cc sourcelist.cc \
- depcache.cc progress.cc cdrom.cc
+ depcache.cc progress.cc
SOURCE := $(APT_PKG_SRC)
include $(PYTHON_H) progress.h