From 955e4ceb12b155d3dc840f25197a11b663d09ecc Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 13 May 2015 19:41:29 +0200 Subject: reproducible: fix all users of gen_packages_html() after the refactoring of it notable changes: * gen_packages_html() in common.sh got renamed to the singular version gen_package_html() and now accept only one argument (a package name) + thus reproducible_blacklist.sh got fixed to pass one package at time + this greatly semplify the code, by removing *a lot* of crappy code * _html_all_packages.py really becomed a 2-liner, with part of its login being now either in _html_packages.py or removed. --- bin/reproducible_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_scheduler.py') diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 4af23092..9a317eaa 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -149,7 +149,7 @@ def update_sources_db(suite, arch, sources): sys.exit(1) if pkgs_to_add: log.info('Building pages for the new packages') - gen_packages_html(pkgs_to_add, no_clean=True) + gen_packages_html([Package(x) for x in pkgs_to_add], no_clean=True) def print_schedule_result(suite, criteria, packages): -- cgit v1.2.3-54-g00ecf