forked from OSchip/llvm-project
Require set-xcode-analyzer to run with Python 2.7 or later.
Addresses LLVM PR 11661. llvm-svn: 171503
This commit is contained in:
parent
9deaef7f44
commit
8533dd9f58
|
@ -4,9 +4,13 @@
|
|||
# want to the use the system version of Python on Mac OS X.
|
||||
# This one has the scripting bridge enabled.
|
||||
|
||||
import sys
|
||||
if sys.version_info < (2, 7):
|
||||
print "set-xcode-analyzer requires Python 2.7 or later"
|
||||
sys.exit(1)
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import re
|
||||
import tempfile
|
||||
import shutil
|
||||
|
|
Loading…
Reference in New Issue