Skip to content

Commit 8abe39c

Browse files
committed
Fixing for new ruff rule
1 parent 115cc65 commit 8abe39c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devstats/publish.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def publish(project, templatedir, outdir):
8787
flags=re.MULTILINE,
8888
)
8989

90-
for v in variables:
91-
template = template.replace("{{ " + v + " }}", variables[v])
90+
for key, value in variables.items():
91+
template = template.replace("{{ " + key + " }}", value)
9292

9393
fh.write(template)

0 commit comments

Comments
 (0)