Ensure we test None using is rather than ==.

This commit is contained in:
Mike Auty
2019-11-03 22:46:20 +00:00
parent 9d453ff916
commit 73aa73f30e
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface):
continue
proc_layer_name = task.add_process_layer()
if proc_layer_name == None:
if proc_layer_name is None:
continue
proc_layer = self.context.layers[proc_layer_name]