Removed some debugging output.

This commit is contained in:
Anton Hvornum 2021-03-21 17:26:29 +01:00
parent 298ed31531
commit 83c0ee4b22
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 0 additions and 3 deletions

View File

@ -441,7 +441,6 @@ class Filesystem():
log(f'Adding partition to {self.blockdevice}', level=LOG_LEVELS.Info)
previous_partitions = self.blockdevice.partitions
print(previous_partitions)
if format:
partitioning = self.parted(f'{self.blockdevice.device} mkpart {type} {format} {start} {end}') == 0
else:
@ -449,8 +448,6 @@ class Filesystem():
if partitioning:
start_wait = time.time()
time.sleep(2)
print(self.blockdevice.partitions)
while previous_partitions == self.blockdevice.partitions:
time.sleep(0.025) # Let the new partition come up in the kernel
if time.time() - start_wait > 10: