Removed debugging
This commit is contained in:
parent
1abe2c762e
commit
2761e675a1
|
|
@ -321,9 +321,6 @@ class Partition():
|
||||||
if log_formatting:
|
if log_formatting:
|
||||||
log(f'Formatting {path} -> {filesystem}', level=logging.INFO)
|
log(f'Formatting {path} -> {filesystem}', level=logging.INFO)
|
||||||
|
|
||||||
if path == '/dev/sda1' and filesystem == 'vfat':
|
|
||||||
raise ValueError("Debugging breakpoint!")
|
|
||||||
|
|
||||||
if filesystem == 'btrfs':
|
if filesystem == 'btrfs':
|
||||||
o = b''.join(sys_command(f'/usr/bin/mkfs.btrfs -f {path}'))
|
o = b''.join(sys_command(f'/usr/bin/mkfs.btrfs -f {path}'))
|
||||||
if b'UUID' not in o:
|
if b'UUID' not in o:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue