Skip to content

Commit ddf1432

Browse files
committed
fixup! b79f67c
1 parent b79f67c commit ddf1432

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/git_draft/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ async def run() -> None: # noqa: PLR0912 PLR0915
225225
case "list-events":
226226
draft_id = args[0] if args else None
227227
spec = opts.format or "{occurred_at}\t{description}"
228-
for props in drafter.list_draft_events(draft_id):
229-
print(_format(props, spec))
228+
for event_props in drafter.list_draft_events(draft_id):
229+
print(_format(event_props, spec))
230230
case "show-template":
231231
if len(args) != 1:
232232
raise ValueError("Expected exactly one argument")
@@ -243,8 +243,8 @@ async def run() -> None: # noqa: PLR0912 PLR0915
243243
print(meta.source())
244244
case "list-templates":
245245
spec = opts.format or "{name}: {description}"
246-
for props in list_templates():
247-
print(_format(props, spec))
246+
for template_props in list_templates():
247+
print(_format(template_props, spec))
248248
case _:
249249
raise UnreachableError()
250250

0 commit comments

Comments
 (0)