summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2022-01-10 19:06:10 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2022-01-10 19:06:10 (GMT)
commit4f93ac5490c29ae4f8d51649e6d3e085123f3d6c (patch)
tree1eb7d398550b4825ea393fec8ab31842bb4bd309
parentd4debeef85a1be44c496d859cce9116eee6d32a7 (diff)
downloadeobuilder-4f93ac5490c29ae4f8d51649e6d3e085123f3d6c.zip
eobuilder-4f93ac5490c29ae4f8d51649e6d3e085123f3d6c.tar.gz
eobuilder-4f93ac5490c29ae4f8d51649e6d3e085123f3d6c.tar.bz2
changelog: skip failing lines (#60475)v29
-rw-r--r--eobuilder/changelog.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/eobuilder/changelog.py b/eobuilder/changelog.py
index 14cca08..75b09d4 100644
--- a/eobuilder/changelog.py
+++ b/eobuilder/changelog.py
@@ -65,7 +65,10 @@ def changelog_from_git(
except GitCommandError:
break
else:
- versions.append((last_tag, get_commit_from_tag(repo, last_tag)))
+ try:
+ versions.append((last_tag, get_commit_from_tag(repo, last_tag)))
+ except IndexError:
+ pass
n = len(versions)
for i in range(n):
name, commit = versions[i]