Skip to content

Commit 4da9447

Browse files
Use "if cond is True" instead of discouraged "if cond == True".
1 parent e4b64df commit 4da9447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/update-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def obtain_additional_swift_sources(opts = {'with_ssh': False}):
6868
with WorkingDirectory(SWIFT_SOURCE_ROOT):
6969
if not os.path.isdir(os.path.join(dir_name, ".git")):
7070
print("--- Cloning '" + dir_name + "' ---")
71-
if opts['with_ssh'] == True:
71+
if opts['with_ssh'] is True:
7272
remote = "[email protected]:" + repo + '.git'
7373
else:
7474
remote = "https://github.com/" + repo + '.git'

0 commit comments

Comments
 (0)