File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ _SUPPORTED_XCODE_BUILDS = [
62
62
# -----------------------------------------------------------------------------
63
63
# Helpers
64
64
65
+
65
66
def print_note (message , stream = sys .stdout ):
66
67
"""Writes a diagnostic message to the given stream. By default this
67
68
function outputs to stdout.
@@ -152,6 +153,7 @@ def print_xcodebuild_versions(file=sys.stdout):
152
153
print (fmt .format (version = version , sdks = sdks ), file = file )
153
154
file .flush ()
154
155
156
+
155
157
def validate_xcode_compatibility ():
156
158
if sys .platform != 'darwin' :
157
159
return
@@ -168,11 +170,14 @@ def validate_xcode_compatibility():
168
170
valid_versions_string = "\n " .join (
169
171
"{} ({})" .format (* x ) for x in _SUPPORTED_XCODE_BUILDS )
170
172
raise SystemExit (
171
- "error: using unsupported Xcode version:\n \n {}\n \n Install one of:\n {}\n \n Or set 'SKIP_XCODE_VERSION_CHECK=1' in the environment" .format (
173
+ "error: using unsupported Xcode version:\n \n {}\n \n "
174
+ "Install one of:\n {}\n \n "
175
+ "Or set 'SKIP_XCODE_VERSION_CHECK=1' in the environment" .format (
172
176
version , valid_versions_string
173
177
)
174
178
)
175
179
180
+
176
181
def tar (source , destination ):
177
182
"""
178
183
Create a gzip archive of the file at 'source' at the given
You can’t perform that action at this time.
0 commit comments