Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 11:56:35 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-09 11:56:35 +0200
commitdb7b3c8cca10068f3c2186b3c1d6eb316741f3a0 (patch)
treecbcc0609c9c06ddc6d21097fc27bfac45ac6b0d3
parenteb7ed1126bcfece5ec2fba40b24227e02082bea0 (diff)
Attempting default value None for block device to partition.
-rw-r--r--archinstall/lib/disk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index f8bdc040..f6dc16eb 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -585,10 +585,10 @@ def get_partitions_in_use(mountpoint):
output = output.decode('UTF-8')
output = json.loads(output)
for target in output.get('filesystems', []):
- mounts.append(Partition(target['source'], filesystem=target.get('fstype', None), mountpoint=target['target']))
+ mounts.append(Partition(target['source'], None, filesystem=target.get('fstype', None), mountpoint=target['target']))
for child in target.get('children', []):
- mounts.append(Partition(child['source'], filesystem=child.get('fstype', None), mountpoint=child['target']))
+ mounts.append(Partition(child['source'], None, filesystem=child.get('fstype', None), mountpoint=child['target']))
return mounts