Skip to content

Commit 9a6e4f6

Browse files
committed
[gardening] Instead of iterating over a dictionary's (k,v) and just using the key, just iterate over the keys! NFC.
1 parent 9484865 commit 9a6e4f6

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
@@ -171,7 +171,7 @@ By default, updates your checkouts of Swift, SourceKit, LLDB, and SwiftPM.""")
171171
config, clone_with_ssh, branch, skip_history, args.skip_repository)
172172

173173
repo_branch = branch
174-
for dir_name, _ in config["repositories"].items():
174+
for dir_name in config["repositories"].keys():
175175
if dir_name in args.skip_repository:
176176
print("--- Skipping '" + dir_name + "' ---")
177177
continue

0 commit comments

Comments
 (0)