Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-11-11 14:30:52 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2021-11-11 14:30:52 +0000
commite0782f234b20cdfbcbe411067b336979e7ac0216 (patch)
treecf5526c88500bd0f00d301a784651f517aa73d41 /archinstall
parentc2bfc4e34030f85a42820ac8505d3eaf9e109db5 (diff)
Tweaked partitions usage in blockdevice
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/disk/blockdevice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk/blockdevice.py b/archinstall/lib/disk/blockdevice.py
index 2cdd741c..5d1ea267 100644
--- a/archinstall/lib/disk/blockdevice.py
+++ b/archinstall/lib/disk/blockdevice.py
@@ -218,7 +218,7 @@ class BlockDevice:
count = 0
while count < 5:
for partition_uuid, partition in self.partitions.items():
- if partition_uuid == uuid:
+ if partition.uuid == uuid:
return partition
else:
log(f"uuid {uuid} not found. Waiting for {count +1} time",level=logging.DEBUG)