From 7bfb602ff4731cae3e7f0923506b6e5cb28a1e29 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Tue, 15 Mar 2011 10:54:25 +0100 Subject: [PATCH] treeinfo has to be addressed as self.treeinfo --- src/pylorax/images.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pylorax/images.py b/src/pylorax/images.py index 64fbc06e..f47fd610 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -529,9 +529,9 @@ class X86(object): if self.basearch == "x86_64": section = "images-xen" data = {"kernel": joinpaths(PXEBOOTDIR, kernel.fname)} - treeinfo.add_section(section, data) + self.treeinfo.add_section(section, data) data = {"initrd": joinpaths(PXEBOOTDIR, initrd.fname)} - treeinfo.add_section(section, data) + self.treeinfo.add_section(section, data) def create_boot(self, efiboot=None): # define efiargs and efigraft