From 32135f0b4672fc6432da4dd1a0a7d2ac35e1e539 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 1 Jan 2022 22:05:01 +0100 Subject: != -> is not --- archinstall/lib/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') 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" -- cgit v1.2.3-54-g00ecf