From a8f4e2aa4a4f310300dbb631f43d34849061ac7e Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 14 Jan 2015 17:44:30 +0100 Subject: pbuilder: html_packages: strip out epoch also for debbindiff files --- bin/reproducible_html_packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index d1caaa9a..3ce58166 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -74,7 +74,7 @@ def gen_extra_links(package, version): notes = NOTES_PATH + '/' + package + '_note.html' rbuild = RBUILD_PATH + '/' + package + '_' + strip_epoch(version) + '.rbuild.log' buildinfo = BUILDINFO_PATH + '/' + package + '_' + strip_epoch(version) + '_amd64.buildinfo' - dbd = DBD_PATH + '/' + package + '_' + version + '.debbindiff.html' + dbd = DBD_PATH + '/' + package + '_' + strip_epoch(version) + '.debbindiff.html' links = '' default_view = False @@ -86,7 +86,7 @@ def gen_extra_links(package, version): else: log.debug('notes not detected at ' + notes) if os.access(dbd, os.R_OK): - url = DBD_URI + '/' + package + '_' + version + '.debbindiff.html' + url = DBD_URI + '/' + package + '_' + strip_epoch(version) + '.debbindiff.html' links += 'debbindiff\n' if not default_view: default_view = url -- cgit v1.2.3-70-g09d2