From ec3284873ab1a814ed1bf55346c4859ff2a5e3b0 Mon Sep 17 00:00:00 2001 From: Alpinux Date: Wed, 6 May 2026 11:49:02 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20renommer=20items=E2=86=92entries=20dans?= =?UTF-8?q?=20=5Fparse=5Fchangelog=20(conflit=20m=C3=A9thode=20dict)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit grp.items en Jinja2 résolvait la méthode dict.items() au lieu de la clé. Co-Authored-By: Claude Sonnet 4.6 --- app/app.py | 4 ++-- app/templates/changelog.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/app.py b/app/app.py index b00054a..0e151b6 100644 --- a/app/app.py +++ b/app/app.py @@ -468,9 +468,9 @@ def _parse_changelog(): elif line.startswith("### ") and current is not None: if current_group: current["groups"].append(current_group) - current_group = {"title": line[4:], "items": []} + current_group = {"title": line[4:], "entries": []} elif line.startswith("- ") and current_group is not None: - current_group["items"].append(line[2:]) + current_group["entries"].append(line[2:]) if current: if current_group: diff --git a/app/templates/changelog.html b/app/templates/changelog.html index b0b1b90..7fcbb05 100644 --- a/app/templates/changelog.html +++ b/app/templates/changelog.html @@ -18,7 +18,7 @@
{{ grp.title }}
    - {% for item in grp.items %} + {% for item in grp.entries %}
  • {{ item }}
  • {% endfor %}