Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-03-09 10:45:45 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-03-09 10:45:45 +0100
commitc97d5f12021a8ca8b1e90a750a6f4c95229c6509 (patch)
tree32fd7ae7dfcf021d9528657386c3f7c319a3917c
parent1f62a97c902bf0697e7502ec7f9e17c13147390b (diff)
Forgot to return self in Filesystem()
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 2 insertions, 0 deletions
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})"