From 3a03685e6c656fac6c11d6df299f0e651b00b4f4 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 8 Aug 2005 14:43:03 +0000 Subject: * always call Restart in srcrecords.Lookup --- python/pkgsrcrecords.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'python/pkgsrcrecords.cc') diff --git a/python/pkgsrcrecords.cc b/python/pkgsrcrecords.cc index c9adcb1a..252810c7 100644 --- a/python/pkgsrcrecords.cc +++ b/python/pkgsrcrecords.cc @@ -43,6 +43,7 @@ static PyObject *PkgSrcRecordsLookup(PyObject *Self,PyObject *Args) if (PyArg_ParseTuple(Args,"s",&Name) == 0) return 0; + Struct.Records->Restart(); Struct.Last = Struct.Records->Find(Name, false); if (Struct.Last == 0) { Struct.Records->Restart(); -- cgit v1.2.3