From 905f10e9d24e5d07afbd4e5293ed1124cba2edef Mon Sep 17 00:00:00 2001 From: advaithm Date: Fri, 22 Jan 2021 16:18:12 +0530 Subject: fixed tabs and spaces problem --- archinstall/lib/disk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 35ff5712..e9fa12a0 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -134,10 +134,10 @@ class Partition(): if (handle := sys_command(f'/usr/bin/mkfs.ext4 -F {self.path}')).exit_code != 0: raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}') self.filesystem = 'ext4' - elif filesystem == 'xfs': - if (handle:= sys_command(f'/usr/bin/mkfs.xfs -f {self.path}')).exit_code != 0: - raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}') - self.filesystem = 'xfs' + elif filesystem == 'xfs': + if (handle:= sys_command(f'/usr/bin/mkfs.xfs -f {self.path}')).exit_code != 0: + raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}') + self.filesystem = 'xfs' else: raise DiskError(f'Fileformat {filesystem} is not yet implemented.') return True -- cgit v1.2.3-70-g09d2