Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-02-07 15:05:57 +0100
committerAnton Hvornum <anton@hvornum.se>2021-02-07 15:05:57 +0100
commit976709525816a8a47c30ae02abba9062499ad8b2 (patch)
tree4f8427a36f216f8d2161f4d65048211f0cd108b8 /archinstall/lib
parent2262cd6196dd487b3dfc4524de1eea9b747db0c0 (diff)
Yielding actual partitions and not just the partition number :)
Diffstat (limited to 'archinstall/lib')
-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 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: