From 976709525816a8a47c30ae02abba9062499ad8b2 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 7 Feb 2021 15:05:57 +0100 Subject: Yielding actual partitions and not just the partition number :) --- archinstall/lib/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index ffd3e044..7ffc866c 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -24,7 +24,7 @@ class BlockDevice(): def __iter__(self): for partition in self.partitions: - yield partition + yield self.partitions[partition] def __getitem__(self, key, *args, **kwargs): if key not in self.info: -- cgit v1.2.3-54-g00ecf