mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
[PEP 8] Comparison to 'None'
This commit is contained in:
parent
1b7b999449
commit
ebf037f247
2 changed files with 7 additions and 7 deletions
|
@ -137,7 +137,7 @@ class UnpackOperation:
|
|||
fslist = ""
|
||||
|
||||
if entry.sourcefs == "squashfs":
|
||||
if shutil.which("unsquashfs") == None:
|
||||
if shutil.which("unsquashfs") is None:
|
||||
return ("Failed to unpack image", "Failed to find unsquashfs, make sure you have "
|
||||
"the squashfs-tools package installed")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue