Skip to content

Commit cea91b8

Browse files
authored
Merge pull request swiftlang#566 from slowy07/minor-fixing
minor fixing: logical, and function issue lint
2 parents d0b3c13 + 726e6e2 commit cea91b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project_future.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def get_build_command(self, incremental=False):
131131
dir_override = []
132132
if self._has_scheme:
133133
dir_override += ['-derivedDataPath', build_dir]
134-
elif not 'SYMROOT' in self._env:
134+
elif 'SYMROOT' not in self._env:
135135
dir_override += ['SYMROOT=' + build_dir]
136136
dir_override += [k + "=" + v for k, v in self._env.items()]
137137
command = (['xcodebuild']
@@ -421,6 +421,7 @@ def is_xfailed(xfail_args, compatible_version, platform, swift_branch, build_con
421421

422422
def is_or_contains(spec, arg):
423423
return arg in spec if isinstance(spec, list) else spec == arg
424+
424425
def matches(spec):
425426
issue = spec['issue'].split()[0]
426427
current = {

0 commit comments

Comments
 (0)