From 6bdccf0c88dfff3c41c02b8d3080f6988fbc960f Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 6 May 2008 15:27:39 -0400 Subject: Look in the right place when ISO images are in a subdirectory (#443580). --- image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'image.py') diff --git a/image.py b/image.py index 5fece2314..681cf9825 100644 --- a/image.py +++ b/image.py @@ -129,8 +129,8 @@ def getMediaId(path): return None # This mounts the directory containing the iso images, and places the -# mount point in isodir. -def mountDirectory(isodir, methodstr, messageWindow): +# mount point in /mnt/isodir. +def mountDirectory(methodstr, messageWindow): if methodstr.startswith("hd:"): method = methodstr[3:] (device, fstype, path) = method.split(":", 3) @@ -153,7 +153,7 @@ def mountDirectory(isodir, methodstr, messageWindow): return try: - isys.mount(device, isodir, fstype = fstype) + isys.mount(device, "/mnt/isodir", fstype = fstype) except SystemError, msg: log.error("couldn't mount ISO source directory: %s" % msg) messageWindow(_("Couldn't Mount ISO Source"), -- cgit