def _populateFiles(self, header): files = [] for f in header.get('files', []): fc = headerSource.rpmFile() fc.populate(f) files.append(fc) self['files'] = files