fix another go-rebuild bug

This commit is contained in:
Fredrik Eriksson 2024-08-18 16:27:09 +02:00
parent 3d3dd379b7
commit 76fe384d0f
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -285,7 +285,7 @@ def pkg_upgrade():
elif go_packages: elif go_packages:
dependencies = [] dependencies = []
for package in go_packages: for package in go_packages:
dependencies.append(get_dependencies(package)) dependencies.extend(get_dependencies(package))
dependencies = set(dependencies) dependencies = set(dependencies)
upgraded = set(rebuild_packages.keys()) upgraded = set(rebuild_packages.keys())
not_upgraded = dependencies-upgraded not_upgraded = dependencies-upgraded