[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: html_packages: fixup e751895

Holger Levsen holger at moszumanska.debian.org
Sat Mar 7 13:45:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 0752cf66df4c1cf5b1fea023d64e6678353dc8ae
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sat Mar 7 14:41:56 2015 +0100

    reproducible: html_packages: fixup e751895
---
 bin/reproducible_html_packages.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index d09468c..91f7217 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)
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list