summaryrefslogtreecommitdiff
path: root/python/pkgsrcrecords.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/pkgsrcrecords.cc')
-rw-r--r--python/pkgsrcrecords.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pkgsrcrecords.cc b/python/pkgsrcrecords.cc
index 6f80731d..6ec4e63c 100644
--- a/python/pkgsrcrecords.cc
+++ b/python/pkgsrcrecords.cc
@@ -88,7 +88,7 @@ static PyObject *PkgSrcRecordsStep(PyObject *Self,PyObject *Args)
if (PyArg_ParseTuple(Args,"") == 0)
return 0;
- Struct.Last = (pkgSrcRecords::Parser*)Struct.Records->Next();
+ Struct.Last = (pkgSrcRecords::Parser*)Struct.Records->Step();
if (Struct.Last == 0) {
Struct.Records->Restart();
Py_INCREF(Py_None);
@@ -102,7 +102,7 @@ static PyMethodDef PkgSrcRecordsMethods[] =
{
{"lookup",PkgSrcRecordsLookup,METH_VARARGS,doc_PkgSrcRecordsLookup},
{"restart",PkgSrcRecordsRestart,METH_VARARGS,doc_PkgSrcRecordsRestart},
- {"step",PkgSrcRecordsNext,METH_VARARGS,doc_PkgSrcRecordsNext},
+ {"step",PkgSrcRecordsStep,METH_VARARGS,doc_PkgSrcRecordsStep},
{}
};