From a8f4de60706347bb26b4393a2c06f965b731dad4 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Tue, 30 Mar 2010 14:40:06 +0200 Subject: [PATCH] Fix some incorrect variable names --- 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 ab8e7cd0..38921a1d 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -312,7 +312,7 @@ export PS1 PATH self.perror(stdout) # remove *map files - remove_(os.path.join(self.dst_moddir, "*map")) + remove_(os.path.join(dst_moddir, "*map")) def get_keymaps(self): override = "keymaps-override-{0}".format(self.conf.basearch) @@ -569,7 +569,7 @@ class EFI(BaseImageClass): cmd = cmd.format(self.cmd, dmdev, disksize / 512, loop) err, stdout = commands.getstatusoutput(cmd) if err: - self.perror(output) + self.perror(stdout) self.remove_loop_dev(loop) os.unlink(efidisk) return None