diff options
author | lupoDharkael <izhe@hotmail.es> | 2018-10-27 01:18:15 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2018-10-27 01:18:15 +0200 |
commit | edcca5f7ad2ba92b3e04fb153f7db55c08593469 (patch) | |
tree | 8c29e3f3a2f793e3de3ae77f20c3a2607bf5e0e3 /platform/osx | |
parent | 970b58148f579f741934f64af437d01b985df15d (diff) |
Dont use equality operators with None singleton in python files
Diffstat (limited to 'platform/osx')
-rw-r--r-- | platform/osx/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |