done prettifying
[bootmanager.git] / source / steps / InstallPartitionDisks.py
index ca86521..d0df2f2 100644 (file)
@@ -100,7 +100,7 @@ def Run(vars, log):
                 used_devices.append(device)
                 log.write("Successfully initialized {}\n".format(device))
         else:
-            log.write("Unable to partition {], not using it.\n".format(device))
+            log.write("Unable to partition {}, not using it.\n".format(device))
             continue
 
     # list of devices to be used with vgcreate
@@ -179,7 +179,7 @@ def Run(vars, log):
     devname = PARTITIONS[fs]
     if vars['virt'] == 'vs':
         log.write("formatting {} partition ({}){}.\n".format(fs, devname, txt))
-        utils.sysexec("mkfs.ext2 -q {} -m {} -j {}".format(option, rbp, devname)), log)
+        utils.sysexec("mkfs.ext2 -q {} -m {} -j {}".format(option, rbp, devname), log)
         # disable time/count based filesystems checks
         utils.sysexec_noerr("tune2fs -c -1 -i 0 {}".format(devname), log)
     elif not one_partition: