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@hvornum.se>2021-07-03 14:27:49 +0200
committerAnton Hvornum <anton@hvornum.se>2021-07-03 14:27:49 +0200
commit51f2eca60e9d77a2675ed8828c2fdadfd065b7a2 (patch)
tree0591f45211846d9f10524c1b3ebd7dbc351135ca /archinstall
parente965eaf546a73f76f5e928aa03154ff5c482fb4c (diff)
Saving partitioning layout in a layout file (JSON format)
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/disk.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 3bc2fa0f..e804e0eb 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -243,11 +243,7 @@ class BlockDevice:
json() has precedence over __dump__, so this is a way
to give less/partial information for user readability.
"""
- return {
- 'path': self.path,
- 'size': self.info['size'] if 'size' in self.info else '<unknown>',
- 'model': self.info['model'] if 'model' in self.info else '<unknown>'
- }
+ return self.path
def __dump__(self):
return {