diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-08 14:43:03 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-08 14:43:03 +0000 |
| commit | 3a03685e6c656fac6c11d6df299f0e651b00b4f4 (patch) | |
| tree | 5eac9059cfb9dd6ae8da8707380979cac0d67b43 /python/pkgsrcrecords.cc | |
| parent | 1e6a73d6bcb6b5e1d8e3f965c4e1c44a0aac33e4 (diff) | |
| download | python-apt-3a03685e6c656fac6c11d6df299f0e651b00b4f4.tar.gz | |
* always call Restart in srcrecords.Lookup
Diffstat (limited to 'python/pkgsrcrecords.cc')
| -rw-r--r-- | python/pkgsrcrecords.cc | 1 |
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(); |
