llvm.org GIT mirror llvm / 04ca269
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 NAKAMURA Takumi 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3737 # The option to preserve TEMP, TMP, and TMPDIR.
3838 # This is intended to check how many temporary files would be generated
3939 # (and be not cleaned up) in automated builders.
40 if os.environ.has_key('LIT_PRESERVES_TMP'):
40 if 'LIT_PRESERVES_TMP' in os.environ:
4141 environment.update({
4242 'TEMP' : os.environ.get('TEMP',''),
4343 'TMP' : os.environ.get('TMP',''),