summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_scheduler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_scheduler.py')
-rwxr-xr-xbin/reproducible_scheduler.py4
1 files 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}'