From 86fea3ed91794aa9537a3b197dbaac500b82f2d8 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 22 Nov 2005 11:45:03 +0000 Subject: * python/sourcelist.cc cleaned up --- python/pkgmanager.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'python/pkgmanager.cc') diff --git a/python/pkgmanager.cc b/python/pkgmanager.cc index 133db755..ce6d35a8 100644 --- a/python/pkgmanager.cc +++ b/python/pkgmanager.cc @@ -9,11 +9,11 @@ #include "generic.h" #include "apt_pkgmodule.h" #include "acquire.h" -#include "sourcelist.h" #include "pkgrecords.h" #include #include +#include #include #include @@ -31,12 +31,11 @@ static PyObject *PkgManagerGetArchives(PyObject *Self,PyObject *Args) return 0; PkgAcquireStruct &s_fetcher = GetCpp(fetcher); - PkgSourceListStruct &s_list = GetCpp(list); + pkgSourceList *s_list = GetCpp(list); PkgRecordsStruct &s_records = GetCpp(recs); - bool res = pm->GetArchives(&s_fetcher.fetcher, - &s_list.List, - &s_records.Records); + bool res = pm->GetArchives(&s_fetcher.fetcher, s_list, + &s_records.Records); return HandleErrors(Py_BuildValue("b",res)); } -- cgit v1.2.3