Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Kubuntu Development (http://www.linux-archive.org/kubuntu-development/)
-   -   Fix some incorrect variable names (http://www.linux-archive.org/kubuntu-development/349119-fix-some-incorrect-variable-names.html)

Martin Gracik 03-30-2010 01:05 PM

Fix some incorrect variable names
 
---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 04:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.