From f48938b80d93ed14b8bf9e2992cc15ab9d596fe4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Dec 2015 13:30:04 +0100 Subject: reproducible: make criteria for old versions match reality --- bin/reproducible_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 79ca8f30..31d0f3f6 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -369,8 +369,8 @@ def query_old_ftbfs_and_depwait_versions(suite, arch, limit): def query_old_versions(suite, arch, limit): - criteria = 'tested at least two weeks ago, no new version available, ' + \ - 'sorted by last build date' + criteria = """tested at least {minimum_age} days ago, no new version available, + sorted by last build date""".format(minimum_age=MINIMUM_AGE[arch]) query = """SELECT DISTINCT s.id, s.name FROM sources AS s JOIN results AS r ON s.id = r.package_id WHERE s.suite='{suite}' AND s.architecture='{arch}' -- cgit v1.2.3-70-g09d2