liveusb/creator.py

Luke Macken lmacken at fedoraproject.org
Fri Nov 7 03:32:59 UTC 2008


 liveusb/creator.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2c6b0f3f0b4f116b513858503a8d62b7bb1b812b
Author: Luke Macken <lmacken at redhat.com>
Date:   Thu Nov 6 22:32:30 2008 -0500

    Make sure to quote our ISO path to support spaces (#470402)

diff --git a/liveusb/creator.py b/liveusb/creator.py
index b41037b..052ce32 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -457,7 +457,7 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
         """ Extract self.iso to self.dest """
         self.log.info(_("Extracting live image to USB device..."))
         tmpdir = tempfile.mkdtemp()
-        self.popen('mount -o loop,ro %s %s' % (self.iso, tmpdir))
+        self.popen('mount -o loop,ro "%s" %s' % (self.iso, tmpdir))
         tmpliveos = os.path.join(tmpdir, 'LiveOS')
         try:
             if not os.path.isdir(tmpliveos):




More information about the liveusb-creator mailing list