diff options
| author | Michael Vogt <egon@bottom> | 2007-06-11 00:06:53 +0200 |
|---|---|---|
| committer | Michael Vogt <egon@bottom> | 2007-06-11 00:06:53 +0200 |
| commit | a1dcc6a2e3afe8c649c05273955331b97aa50c41 (patch) | |
| tree | 8aa712f21a104dc07be0279a0582d73e4c224fcb /tests | |
| parent | 9292ca0cd6081896fa72ec50eda8b2fda4bd7f29 (diff) | |
| download | python-apt-a1dcc6a2e3afe8c649c05273955331b97aa50c41.tar.gz | |
* finalized chanagelog
* fixed bug in tests/pkgrecords.py
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pkgrecords.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pkgrecords.py b/tests/pkgrecords.py index 8bfe4b82..d0616d29 100644 --- a/tests/pkgrecords.py +++ b/tests/pkgrecords.py @@ -21,6 +21,8 @@ def main(): #print "no available version, cruft" continue version = depcache.GetCandidateVer(pkg) + if not version: + continue file, index = version.FileList.pop(0) if records.Lookup((file,index)): #print records.FileName |
