From c97d5f12021a8ca8b1e90a750a6f4c95229c6509 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 9 Mar 2021 10:45:45 +0100 Subject: Forgot to return self in Filesystem() --- archinstall/lib/disk.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archinstall') diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 7d4a34c6..a8cba53b 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -342,6 +342,8 @@ class Filesystem(): else: raise DiskError(f'The selected partition table format {self.mode} does not match that of {self.blockdevice}.') + return self + def __repr__(self): return f"Filesystem(blockdevice={self.blockdevice}, mode={self.mode})" -- cgit v1.2.3-70-g09d2