From edcca5f7ad2ba92b3e04fb153f7db55c08593469 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Sat, 27 Oct 2018 01:18:15 +0200 Subject: Dont use equality operators with None singleton in python files --- platform/osx/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/osx') diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 8a0883eca3..c5bd64b15c 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -89,7 +89,7 @@ def configure(env): basecmd = root + "/target/bin/x86_64-apple-" + env["osxcross_sdk"] + "-" ccache_path = os.environ.get("CCACHE") - if ccache_path == None: + if ccache_path is None: env['CC'] = basecmd + "cc" env['CXX'] = basecmd + "c++" else: -- cgit v1.2.3