From 0fc373c7d24fa73bb1b5c53610f63331d9930f42 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 14 Jan 2015 17:50:58 +0100 Subject: pbuilder: common.py: strip out epoch also when checking for buildinfo while linking icon <-> status --- bin/reproducible_common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_common.py') diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 773b199e..d1004944 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -213,7 +213,8 @@ def join_status_icon(status, package=None, version=None): 'not_for_us': 'weather-few-clouds-night.png', 'blacklisted': 'error.png'} if status == 'unreproducible': - if os.access(BUILDINFO_PATH + '/' + str(package) + '_' + str(version) + '_amd64.buildinfo', os.R_OK): + if os.access(BUILDINFO_PATH + '/' + str(package) + '_' + \ + strip_epoch(str(version)) + '_amd64.buildinfo', os.R_OK): status = 'FTBR_with_buildinfo' else: status = 'FTBR' -- cgit v1.2.3-70-g09d2