fixed typos

pull/114/head
Alin Trăistaru 7 years ago
parent 5266992ac4
commit 349dca6f22

@ -51,14 +51,14 @@ def extract_iso(src, dst, pattern=None, suppress_out=True):
# gen.log('Executing', _cmd)
_7zip_process = subprocess.Popen(_cmd, universal_newlines=True, stdin=subprocess.PIPE, stderr=subprocess.PIPE,
stdout=subprocess.PIPE, shell=True)
config.status_text = 'Extracting ' + os.path.basename(src)
config.status_text = 'Status: Extracting ' + os.path.basename(src).strip()
while True:
line = _7zip_process.stdout.readline()
# gen.log(line)
if line.startswith('- '):
config.status_text = 'Extracting ' + line[2:]
config.status_text = 'Status: Extracting ' + line[2:].strip()
elif platform.system() == 'Linux': # line.startswith('Extracting'): # Under Linux it prints directly all the process (may be due to version diff).
config.status_text = line
config.status_text = 'Status: ' + line.strip()
if line == '' and _7zip_process.poll() != None:
break

@ -84,7 +84,7 @@ def print_version():
Simple log the version number of the multibootusb application
:return:
"""
log('multibootusb version : ', mbusb_version())
log('multibootusb version: ', mbusb_version())
def quote(text):
@ -203,7 +203,7 @@ def copy_mbusb_dir_usb(usb_disk):
except:
return False
else:
log('multibootus directory already exist. Not copying.')
log('multibootusb directory already exists. Not copying.')
def read_input_yes():

@ -50,7 +50,7 @@ def dd_linux():
break
if dd_process.poll() is not None:
log("Executing ==> sync")
log("\nExecuting ==> sync")
os.system("sync")
log("ISO has been written to USB disk...")
return

Loading…
Cancel
Save