From 20e759d4cc60e78d8d769ec2239aab1b0233a59d Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 15 Jun 2021 11:51:29 +0200 Subject: Added more detail to BlockDevice.__repr__ --- archinstall/lib/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index c0d961b9..76871352 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -221,7 +221,7 @@ class BlockDevice: # I'm placing the encryption password on a BlockDevice level. def __repr__(self, *args, **kwargs): - return f"BlockDevice({self.device})" + return f"BlockDevice({self.device}, size={self.size}GB, free_space={'+'.join(part[2] for part in self.free_space)}, bus_type={self.bus_type})" def __iter__(self): for partition in self.partitions: -- cgit v1.2.3-70-g09d2