From 02e5c58efcea5efef9fc26bdce1dd4629ea96d68 Mon Sep 17 00:00:00 2001 From: nyorain Date: Tue, 25 Jul 2017 23:25:00 +0200 Subject: Fix style issue in vulkan dep --- mesonbuild/dependencies/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild') diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index 1de7438..c182e84 100644 --- a/mesonbuild/dependencies/ui.py +++ b/mesonbuild/dependencies/ui.py @@ -556,7 +556,7 @@ class VulkanDependency(ExternalDependency): else: # simply try to guess it, usually works on linux libs = self.compiler.find_library('vulkan', environment, []) - if libs != None and self.compiler.has_header('vulkan/vulkan.h', '', environment): + if libs is not None and self.compiler.has_header('vulkan/vulkan.h', '', environment): self.type_name = 'system' self.is_found = True self.version = 1 # TODO -- cgit v1.1