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-11-11 11:37:23 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2021-11-11 11:37:23 +0000
commit58099534404ca9c9ee68b9cbc06c3a8e739cbbcc (patch)
tree5c7ce04ba296fee5cf63488856c2b6ae98b59401
parent610e161d449918b1ed5cb64ee17ab378d323b9c9 (diff)
elif -> if
-rw-r--r--archinstall/lib/disk/filesystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py
index 61a789a1..0c535c7d 100644
--- a/archinstall/lib/disk/filesystem.py
+++ b/archinstall/lib/disk/filesystem.py
@@ -21,7 +21,7 @@ class Filesystem:
def __enter__(self, *args, **kwargs):
# TODO: partition_table_type is hardcoded to GPT at the moment. This has to be changed.
- elif self.mode == self.blockdevice.partition_table_type:
+ if self.mode == self.blockdevice.partition_table_type:
log(f'Kept partition format {self.mode} for {self.blockdevice}', level=logging.DEBUG)
else:
raise DiskError(f'The selected partition table format {self.mode} does not match that of {self.blockdevice}.')