Skip to content

Commit 5c97b07

Browse files
author
Clack Cole
committed
Fixes error using dict where list indices are expected
1 parent 37b1fdb commit 5c97b07

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

checkout

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ def main():
5959
continue
6060
total_repos += 1
6161
for compatible_swift in repo['compatibility']:
62-
project.checkout(root_path, repo,
63-
repo['compatibility'][compatible_swift]['commit'])
62+
project.checkout(root_path, repo, compatible_swift['commit'])
6463
common.debug_print('='*40)
6564
common.debug_print('Repository Summary:')
6665
common.debug_print(' Total: %s' % total_repos)

0 commit comments

Comments
 (0)