accidentlly called dict as function
This commit is contained in:
parent
b974b93004
commit
655ec06119
|
|
@ -481,7 +481,7 @@ class Filesystem():
|
||||||
|
|
||||||
previous_partitions = self.blockdevice.partitions
|
previous_partitions = self.blockdevice.partitions
|
||||||
if self.mode == MBR:
|
if self.mode == MBR:
|
||||||
if len(self.blockdevice.partitions())>3:
|
if len(self.blockdevice.partitions)>3:
|
||||||
DiskError("Too many partitions on disk, MBR disks can only have 3 parimary partitions")
|
DiskError("Too many partitions on disk, MBR disks can only have 3 parimary partitions")
|
||||||
if format:
|
if format:
|
||||||
partitioning = self.parted(f'{self.blockdevice.device} mkpart {type} {format} {start} {end}') == 0
|
partitioning = self.parted(f'{self.blockdevice.device} mkpart {type} {format} {start} {end}') == 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue