diff mbox series

[yocto-autobuilder-helper,v2,7/9] scripts/release-parser.py: don't remove non-existing branch

Message ID 20260123-releases-parser-updates-v2-7-c24c30da807b@bootlin.com
State New
Headers show
Series scripts/release-parser.py: update and move from poky | expand

Commit Message

Antonin Godard Jan. 23, 2026, 8:59 a.m. UTC
The yocto-1.9 branch/tag does not exist on yocto-docs, so this call
fails with:

    branches.remove("yocto-1.9") # To deal with milestone 1 before 1.9 was renamed 2.0.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ValueError: list.remove(x): x not in list

Remove it.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 scripts/release-parser.py | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/scripts/release-parser.py b/scripts/release-parser.py
index cb56257..f161ef1 100755
--- a/scripts/release-parser.py
+++ b/scripts/release-parser.py
@@ -42,8 +42,6 @@  def get_git_tags():
     # Collect tag information into a list of dictionaries
     tag_list = []
     branches = sorted(set([tag.name[:9] for tag in tags]))
-    # Remove bad tags
-    branches.remove("yocto-1.9") # To deal with milestone 1 before 1.9 was renamed 2.0.
 
     odd_commit_strings = ["rc", "final", "docs"]
     for branch in branches: