summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-07 14:41:56 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-07 14:44:47 +0100
commit0752cf66df4c1cf5b1fea023d64e6678353dc8ae (patch)
tree51978c6ffefb5c320595003d9edd3b2dc696d7e2 /bin
parent0bc242e4f4111143f4d9d8379d2523cf208c5b44 (diff)
downloadjenkins.debian.net-0752cf66df4c1cf5b1fea023d64e6678353dc8ae.tar.xz
reproducible: html_packages: fixup e751895
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_packages.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index d09468c7..91f7217f 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -110,7 +110,7 @@ def gen_extra_links(package, version, suite, arch):
eversion + '.debbindiff.html'
links = ''
- default_view = '/index.html'
+ default_view = ''
# check whether there are notes available for this package
if os.access(notes, os.R_OK):
url = NOTES_URI + '/' + package + '_note.html'
@@ -145,6 +145,7 @@ def gen_extra_links(package, version, suite, arch):
else:
log.warning('The package ' + package +
' did not produce any buildlog! Check ' + rbuild)
+ default_view = '/index.html' if not default_view else default_view
return (links, default_view)