Skip to content

Commit c8e367a

Browse files
ci: fix new file protection failing (#7338)
fix dict iteration
1 parent 401e71d commit c8e367a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/protect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def main():
8181
else:
8282
protect_non_existing_pages(session, new_commons_modules)
8383
else:
84-
for wiki, new_modules in files_to_protect_by_wiki:
84+
for wiki, new_modules in files_to_protect_by_wiki.items():
8585
with MediaWikiSession(wiki) as session:
8686
protect_existing_pages(session, new_modules)
8787

0 commit comments

Comments
 (0)