[lorax 3/4] Fix some incorrect variable names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 src/pylorax/images.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pylorax/images.py b/src/pylorax/images.py
index ab8e7cd..38921a1 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
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux