Skip to content

Commit 795c4af

Browse files
authored
Update pylib/gyp/xcode_emulation.py
1 parent 9ed42ed commit 795c4af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pylib/gyp/xcode_emulation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,8 @@ def XcodeVersion():
15081508
raise GypError("xcodebuild returned unexpected results")
15091509
version = version_list[0].split()[-1] # Last word on first line
15101510
build = version_list[-1].split()[-1] # Last word on last line
1511-
except (GypError, FileNotFoundError): # Xcode not installed so look for XCode Command Line Tools
1511+
except (GypError, FileNotFoundError):
1512+
# Xcode not installed so look for XCode Command Line Tools
15121513
version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322
15131514
if not version:
15141515
raise GypError("No Xcode or CLT version detected!")

0 commit comments

Comments
 (0)