From 796659bb29fe074913a871b0ffcec75cc2111418 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Tue, 10 May 2011 15:46:25 -0400 Subject: [PATCH] fixup for creating treeinfo from treebuilder --- src/pylorax/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 4dddb938..06d6f902 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -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"))