mirror of
https://github.com/google/benchmark.git
synced 2025-04-06 09:31:03 +08:00
mingw.py: check for None via 'is', not '=='.
This commit is contained in:
parent
173aff82ee
commit
74e112ae9d
2
mingw.py
2
mingw.py
@ -204,7 +204,7 @@ def root(location = None, arch = None, version = None, threading = None,
|
||||
exceptions = 'sjlj'
|
||||
else:
|
||||
exceptions = keys[0]
|
||||
if revision == None:
|
||||
if revision is None:
|
||||
revision = max(versions[version][arch][threading][exceptions].keys())
|
||||
if not location:
|
||||
location = os.path.join(tempfile.gettempdir(), 'mingw-builds')
|
||||
|
Loading…
Reference in New Issue
Block a user