summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_html_packages.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index 1c0f6d94..250cec0c 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -362,8 +362,13 @@ def gen_packages_html(packages, no_clean=False):
'history_arch_uri': '{}/{}/{}.html'.format(HISTORY_URI, a, pkg)
})
project_links = renderer.render(project_links_template)
- desturl = REPRODUCIBLE_URL + RB_PKG_URI + '/' + suite + \
- '/' + arch + '/' + pkg + '.html'
+ desturl = '{}{}/{}/{}/{}.html'.format(
+ REPRODUCIBLE_URL,
+ RB_PKG_URI,
+ suite,
+ arch,
+ pkg,
+ )
navigation_html = renderer.render(package_navigation_template, {
'package': pkg,