From c7bcba7a6a04abaca49dba8306eb08e76dfa937f Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 18 Nov 2019 16:48:37 +0100 Subject: More verbose output for unformatted drives. --- archinstall.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3-70-g09d2