Forgot to return self in Filesystem()

This commit is contained in:
Anton Hvornum 2021-03-09 10:45:45 +01:00
parent 1f62a97c90
commit c97d5f1202
1 changed files with 2 additions and 0 deletions

View File

@ -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})"