Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 16:48:37 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 16:48:37 +0100
commitc7bcba7a6a04abaca49dba8306eb08e76dfa937f (patch)
tree6febe22e8b7975c95364636b4a28ad9ca5a6420f /archinstall.py
parent252dfb295b271cd3f7cbc0cf99bf190f3a620225 (diff)
More verbose output for unformatted drives.
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index 26c82a7e..6ca0e1c9 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -506,6 +506,8 @@ def disk_info(drive, *positionals, **kwargs):
fileformats.append(child['fstype'])
if child['label'] != None:
labels.append(child['label'])
+ else:
+ labels = ['*Empty drive (no partitions)*']
info['fileformats'] = fileformats
info['labels'] = labels
info['model'] = get_disk_model(drive)