mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Tweak lit/TestingConfig.py Py3-compatible. has_key is dead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197462 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f7c8fd635
commit
04ca26908e
@ -38,7 +38,7 @@ class TestingConfig:
|
||||
# The option to preserve TEMP, TMP, and TMPDIR.
|
||||
# This is intended to check how many temporary files would be generated
|
||||
# (and be not cleaned up) in automated builders.
|
||||
if os.environ.has_key('LIT_PRESERVES_TMP'):
|
||||
if 'LIT_PRESERVES_TMP' in os.environ:
|
||||
environment.update({
|
||||
'TEMP' : os.environ.get('TEMP',''),
|
||||
'TMP' : os.environ.get('TMP',''),
|
||||
|
Loading…
Reference in New Issue
Block a user