Forgot to return self in Filesystem()
This commit is contained in:
parent
1f62a97c90
commit
c97d5f1202
|
|
@ -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})"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue