diff --git a/dev/create-release/releaseutils.py b/dev/create-release/releaseutils.py index f273b337fdb4e..a5a26ae8f5354 100755 --- a/dev/create-release/releaseutils.py +++ b/dev/create-release/releaseutils.py @@ -236,7 +236,7 @@ def translate_component(component, commit_hash, warnings): # The returned components are already filtered and translated def find_components(commit, commit_hash): components = re.findall(r"\[\w*\]", commit.lower()) - components = [translate_component(c, commit_hash) + components = [translate_component(c, commit_hash, []) for c in components if c in known_components] return components