Skip to content

Commit 7af2080

Browse files
tfootepeci1
andauthored
Resolve package name for url
Co-authored-by: Martin Pecka <[email protected]>
1 parent 6cec89a commit 7af2080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bloom/generators/debian/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def generate_substitutions_from_package(
326326
data['Description'] = format_description(package.description)
327327
# Websites
328328
websites = [str(url) for url in package.urls if url.type == 'website']
329-
homepage = websites[0] if websites else 'https://index.ros.org/p/%s/#%s' % (package, ros_distro)
329+
homepage = websites[0] if websites else 'https://index.ros.org/p/%s/#%s' % (package.name, ros_distro)
330330
if not websites:
331331
warning("No homepage set, defaulting to %s" % homepage)
332332
data['Homepage'] = homepage

0 commit comments

Comments
 (0)