From 72c238cfe9418d0c478026bb00f1a61294379259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Lebrun?= Date: Fri, 27 Mar 2026 11:08:02 +0100 Subject: [PATCH] query: fix query.get_latest_tag() doccomment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It mentions that rc are excluded, but this is false with the new `rc` boolean argument. Signed-off-by: Théo Lebrun --- elixir/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elixir/query.py b/elixir/query.py index a5f7a90..424cf25 100755 --- a/elixir/query.py +++ b/elixir/query.py @@ -184,7 +184,7 @@ class Query: return self.get_idents_defs(version, ident, family) # Returns the latest tag that is included in the database. - # This excludes release candidates. + # This excludes release candidates if `rc` is False. def get_latest_tag(self, rc): if rc: sorted_tags = reversed(self.scriptLines('list-tags'))