From ef1ae59a8ab3d0272410390168ec1a3753f21e01 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Mon, 21 Mar 2011 09:23:01 +0100 Subject: [PATCH] images dir already exists, we just need to set it --- src/pylorax/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 80bc3dfc..328fdecd 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -468,10 +468,9 @@ class Lorax(BaseLoraxClass): "EFI/BOOT") os.makedirs(self.outputtree.efibootdir) - # create imgdir + # set imgdir self.outputtree.imgdir = joinpaths(self.outputtree.root, "images") - os.makedirs(self.outputtree.imgdir) kernel = i.kernels[0] initrd = i.initrds[0]