fixup for creating treeinfo from treebuilder

This commit is contained in:
Will Woods 2011-05-10 15:46:25 -04:00
parent 17c81d12d7
commit 796659bb29

View File

@ -307,7 +307,7 @@ class Lorax(BaseLoraxClass):
logger.info("writing .treeinfo")
treeinfo = TreeInfo(self.product.name, self.product.version,
self.product.variant, self.arch.basearch)
for section, data in treebuilder.treeinfo_data:
for section, data in treebuilder.treeinfo_data.items():
treeinfo.add_section(section, data)
treeinfo.write(joinpaths(self.outputdir, ".treeinfo"))