[PEP 8] Comparison to 'None'

This commit is contained in:
Gormogon 2015-02-18 09:20:02 -05:00
parent 1b7b999449
commit ebf037f247
2 changed files with 7 additions and 7 deletions

View file

@ -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")