fixup for creating treeinfo from treebuilder
This commit is contained in:
parent
17c81d12d7
commit
796659bb29
@ -307,7 +307,7 @@ class Lorax(BaseLoraxClass):
|
|||||||
logger.info("writing .treeinfo")
|
logger.info("writing .treeinfo")
|
||||||
treeinfo = TreeInfo(self.product.name, self.product.version,
|
treeinfo = TreeInfo(self.product.name, self.product.version,
|
||||||
self.product.variant, self.arch.basearch)
|
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.add_section(section, data)
|
||||||
treeinfo.write(joinpaths(self.outputdir, ".treeinfo"))
|
treeinfo.write(joinpaths(self.outputdir, ".treeinfo"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user