Description of problem: rpm 4.3 no longer returns [] for RPMTAG_FILENAMES, returning None instead. This regression breaks anaconda packages.py here: totalFiles = totalFiles + len(p[rpm.RPMTAG_FILENAMES]) Version-Release number of selected component (if applicable): rpm 4.3 How reproducible: always Steps to Reproduce: 1. run python fragment import rpm import os ts = rpm.TransactionSet() fd=os.open("basesystem-8.0-2.noarch.rpm", os.O_RDONLY) hdr=ts.hdrFromFdno(fd) print hdr[rpm.RPMTAG_BASENAMES] Actual results: None Expected results: [] Additional info:
These shouldn't really be empty lists anyway I don't think...
Fixed in CVS, should be in rpm-4.3-0.8 when built, ditto rpm-4.2.2. Thanks for reproducer.
Do you have an idea when rpm be 4.3-0.8 will be built?