зеркало из https://github.com/microsoft/clang-1.git
Tabs -> Spaces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56833 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
5a236cb62b
Коммит
13c03d85eb
|
@ -113,10 +113,10 @@ class RadarReporter:
|
|||
def isAvailable():
|
||||
# FIXME: Find this .scpt better
|
||||
path = os.path.join(os.path.dirname(__file__),'Resources/GetRadarVersion.scpt')
|
||||
try:
|
||||
p = subprocess.Popen(['osascript',path],
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
except:
|
||||
try:
|
||||
p = subprocess.Popen(['osascript',path],
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
except:
|
||||
return False
|
||||
data,err = p.communicate()
|
||||
res = p.wait()
|
||||
|
|
Загрузка…
Ссылка в новой задаче