diff options
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rw-r--r-- | python/pkgsrcrecords.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 39196d01..d551fd7d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ python-apt (0.6.14) unstable; urgency=low (this is the job of the caller now) * python/srcrecords.cc: - support for "srcrecords.Files" added + - always run "Restart" before performing a Lookup -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 8 Aug 2005 16:24:22 +0200 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(); |
