Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-01-01 22:05:01 +0100
committerGitHub <noreply@github.com>2022-01-01 22:05:01 +0100
commit32135f0b4672fc6432da4dd1a0a7d2ac35e1e539 (patch)
treeac58fd55c459e2dbb508f65365c496002feea5ae
parentffa29e2cd4e082b1b124b44e525863c76d86eb0b (diff)
!= -> is not
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index f202404a..9d89c375 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -213,7 +213,7 @@ class Installer:
partition['device_instance'].unmount()
else:
mountpoints[partition['mountpoint']] = partition
- for mountpoint in sorted([mnt_dest for mnt_dest in mountpoints.keys() if mnt_dest != None]):
+ for mountpoint in sorted([mnt_dest for mnt_dest in mountpoints.keys() if mnt_dest is not None]):
partition = mountpoints[mountpoint]
if partition.get('encrypted', False) and not partition.get('subvolume',None):
loopdev = f"{storage.get('ENC_IDENTIFIER', 'ai')}{pathlib.Path(partition['mountpoint']).name}loop"