summaryrefslogtreecommitdiff
path: root/python/sourcelist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/sourcelist.cc')
-rw-r--r--python/sourcelist.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/sourcelist.cc b/python/sourcelist.cc
index e86f7fd3..52c0e6a8 100644
--- a/python/sourcelist.cc
+++ b/python/sourcelist.cc
@@ -35,13 +35,13 @@ static PyObject *PkgSourceListFindIndex(PyObject *Self,PyObject *Args)
pkgIndexFile *index;
if(list->FindIndex(i, index))
{
- pyPkgIndexFile = CppOwnedPyObject_NEW<pkgIndexFile*>(pyPkgFileIter,&PyPackageIndexFile_Type,index);
+ pyPkgIndexFile = CppOwnedPyObject_NEW<pkgIndexFile*>(pyPkgFileIter,&PyIndexFile_Type,index);
// Do not delete the pkgIndexFile*, it is managed by pkgSourceList.
pyPkgIndexFile->NoDelete = true;
return pyPkgIndexFile;
}
- //&PyPackageIndexFile_Type,&pyPkgIndexFile)
+ //&PyIndexFile_Type,&pyPkgIndexFile)
Py_INCREF(Py_None);
return Py_None;