Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-02 10:12:45 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-02 10:12:45 +0530
commit655ec06119ee67cbf58733f2f1902c606006bef9 (patch)
tree4a5383bbb15381a2881030e4c2118c77490f0018
parentb974b93004efa9912e404f5d3fca7c44a58dc0e3 (diff)
accidentlly called dict as function
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 8e9e0234..fdc2fbc5 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -481,7 +481,7 @@ class Filesystem():
previous_partitions = self.blockdevice.partitions
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")
if format:
partitioning = self.parted(f'{self.blockdevice.device} mkpart {type} {format} {start} {end}') == 0