summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-04-11 15:55:46 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-04-11 15:55:46 +0000
commit7c49549a00c2be19e476153255cb7115a79c2bf8 (patch)
tree842ad0086cf97d71d0c223e49d1782329f1ae641 /python
parentfa60f6847ebc68383799b0a8f4fb36b16726d0f7 (diff)
downloadpython-apt-7c49549a00c2be19e476153255cb7115a79c2bf8.tar.gz
* alway call pkgApplyStatus() in DepCache.Init()
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