Fix another stupid string formatting error :/
authorUlrich Dangel <uli@spamt.net>
Wed, 26 May 2010 09:43:35 +0000 (11:43 +0200)
committerUlrich Dangel <uli@spamt.net>
Wed, 26 May 2010 09:43:35 +0000 (11:43 +0200)
grml2usb

index 80cf863..4205a32 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -910,8 +910,8 @@ def mount(source, target, mount_options):
 
     for x in file('/proc/mounts').readlines():
         if x.startswith(source):
 
     for x in file('/proc/mounts').readlines():
         if x.startswith(source):
-            raise CriticalException("Error executing mount: %s already mounted - "
-                                    + "please unmount before invoking grml2usb" % source)
+            raise CriticalException("Error executing mount: %s already mounted - " % source
+                                    + "please unmount before invoking grml2usb")
 
     if os.path.isdir(source):
         logging.debug("Source %s is not a device, therefore not mounting.", source)
 
     if os.path.isdir(source):
         logging.debug("Source %s is not a device, therefore not mounting.", source)