summaryrefslogtreecommitdiff
path: root/python/pkgsrcrecords.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-08-08 14:43:03 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-08-08 14:43:03 +0000
commit3a03685e6c656fac6c11d6df299f0e651b00b4f4 (patch)
tree5eac9059cfb9dd6ae8da8707380979cac0d67b43 /python/pkgsrcrecords.cc
parent1e6a73d6bcb6b5e1d8e3f965c4e1c44a0aac33e4 (diff)
downloadpython-apt-3a03685e6c656fac6c11d6df299f0e651b00b4f4.tar.gz
* always call Restart in srcrecords.Lookup
Diffstat (limited to 'python/pkgsrcrecords.cc')
-rw-r--r--python/pkgsrcrecords.cc1
1 files changed, 1 insertions, 0 deletions
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();