Skip to content

[gardening] PEP-8 fixes. #2890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utils/SwiftBuildSupport.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ def get_preset_options(substitutions, preset_file_names, preset_name):
# Migrate 'swift-sdks' parameter to 'stdlib-deployment-targets'
for opt in build_script_impl_opts:
if opt.startswith("--swift-sdks"):
sdksToConfigure = opt.split("=")[1].split(";")
sdks_to_configure = opt.split("=")[1].split(";")
tgts = []
# Expand SDKs in to their deployment targets
from swift_build_support.targets import StdlibDeploymentTarget
for sdk in sdksToConfigure:
for sdk in sdks_to_configure:
if sdk == "OSX":
tgts += StdlibDeploymentTarget.OSX.allArchs
elif sdk == "IOS":
Expand Down
4 changes: 2 additions & 2 deletions utils/swift_build_support/swift_build_support/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ class OSX(object):
x86_64 = 'macosx-x86_64'
allArchs = [x86_64]

class iOS(object):
class iOS(object): # noqa
armv7 = 'iphoneos-armv7'
armv7s = 'iphoneos-armv7s'
arm64 = 'iphoneos-arm64'
allArchs = [armv7, armv7s, arm64]

class iOSSimulator(object):
class iOSSimulator(object): # noqa
i386 = 'iphonesimulator-i386'
x86_64 = 'iphonesimulator-x86_64'
allArchs = [i386, x86_64]
Expand Down