Skip to content

Commit c82c651

Browse files
committed
rename update to action
1 parent c895565 commit c82c651

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/stubsabot.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -989,13 +989,13 @@ async def main() -> int:
989989

990990
action_count = 0
991991
for task in asyncio.as_completed(tasks):
992-
update = await task
993-
print(f"{update.distribution}... ", end="")
994-
print(update)
992+
action = await task
993+
print(f"{action.distribution}... ", end="")
994+
print(action)
995995

996-
if isinstance(update, NoUpdate):
996+
if isinstance(action, NoUpdate):
997997
continue
998-
if isinstance(update, Error):
998+
if isinstance(action, Error):
999999
error = True
10001000
continue
10011001

@@ -1005,7 +1005,7 @@ async def main() -> int:
10051005
action_count += 1
10061006

10071007
try:
1008-
await process_typeshed_change(update, session, action_level=args.action_level)
1008+
await process_typeshed_change(action, session, action_level=args.action_level)
10091009
continue
10101010
except RemoteConflictError as e:
10111011
print(colored(f"... but ran into {type(e).__qualname__}: {e}", "red"))

0 commit comments

Comments
 (0)