diff options
Diffstat (limited to 'python/indexfile.cc')
| -rw-r--r-- | python/indexfile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/indexfile.cc b/python/indexfile.cc index 78a4f513..ba709872 100644 --- a/python/indexfile.cc +++ b/python/indexfile.cc @@ -22,7 +22,6 @@ static PyObject *PackageIndexFileArchiveURI(PyObject *Self,PyObject *Args) if (PyArg_ParseTuple(Args, "s",&path) == 0) return 0; - return HandleErrors(Safe_FromString(File->ArchiveURI(path).c_str())); } @@ -99,7 +98,8 @@ PyTypeObject PackageIndexFileType = sizeof(CppOwnedPyObject<pkgIndexFile*>), // tp_basicsize 0, // tp_itemsize // Methods - CppOwnedDeallocPtr<pkgIndexFile*>, // tp_dealloc + // Not ..Ptr, because the pointer is managed somewhere else. + CppOwnedDealloc<pkgIndexFile*>, // tp_dealloc 0, // tp_print 0, // tp_getattr 0, // tp_setattr |
