Skip to content

Commit 07e7949

Browse files
committed
Merge pull request #2968 from practicalswift/cls-fix
2 parents d7df511 + 285b6b5 commit 07e7949

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ def default_stdlib_deployment_targets():
200200
return [host_target]
201201

202202
@classmethod
203-
def get_target_for_name(klass, name):
204-
return klass._targets_by_name.get(name)
203+
def get_target_for_name(cls, name):
204+
return cls._targets_by_name.get(name)
205205

206206

207207
def install_prefix():

utils/swift_build_support/tests/test_toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_tools_llvm_suffix(self):
113113

114114
def test_toolchain_instances(self):
115115
# Check that we can instantiate every toolchain, even if it isn't the
116-
# current patform.
116+
# current platform.
117117
toolchain.MacOSX()
118118
toolchain.Linux()
119119
toolchain.FreeBSD()

0 commit comments

Comments
 (0)