From 7fc24193ff28a9874823e80ca4201de2140e9775 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 20 Sep 2015 00:59:30 +0200 Subject: reproducible: fix various typos --- bin/reproducible_html_packages.py | 4 ++-- bin/reproducible_scheduler.py | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index b98053a9..9fb90de4 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -219,7 +219,7 @@ def gen_packages_html(packages, no_clean=False): pkg = package.name for suite in SUITES: for arch in ARCHS: - if arch = 'armhf' and suite != 'unstable': + if arch == 'armhf' and suite != 'unstable': continue status = package.get_status(suite, arch) version = package.get_tested_version(suite, arch) @@ -274,7 +274,7 @@ def gen_all_rb_pkg_pages(no_clean=False): def purge_old_pages(): for suite in SUITES: for arch in ARCHS: - if arch = 'armhf' and suite != 'unstable': + if arch == 'armhf' and suite != 'unstable': continue log.info('Removing old pages from ' + suite + '/' + arch + '.') try: diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 31ac06b0..6b273863 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -392,7 +392,7 @@ def schedule_untested_packages(arch, total): packages[suite] = query_untested_packages(suite, arch, many_untested) log.info('Received ' + str(len(packages[suite])) + ' untested packages in ' + suite + ' to schedule.') - log.info('--------------------------------------------------------------') + log.info('--------------------------------------------------------------') msg = add_up_numbers(packages, arch) if msg != '0': msg += ' new packages' @@ -412,7 +412,7 @@ def schedule_new_versions(arch, total): packages[suite] = query_new_versions(suite, arch, many_new) log.info('Received ' + str(len(packages[suite])) + ' new packages in ' + suite + ' to schedule.') - log.info('--------------------------------------------------------------') + log.info('--------------------------------------------------------------') msg = add_up_numbers(packages, arch) if msg != '0': msg += ' with new versions' @@ -432,7 +432,7 @@ def schedule_old_ftbfs_versions(arch, total): packages[suite] = query_old_ftbfs_versions(suite, arch, old_ftbfs) log.info('Received ' + str(len(packages[suite])) + ' old ftbfs packages in ' + suite + ' to schedule.') - log.info('--------------------------------------------------------------') + log.info('--------------------------------------------------------------') msg = add_up_numbers(packages, arch) if msg != '0': msg += ' ftbfs versions without bugs filed' @@ -452,7 +452,7 @@ def schedule_old_versions(arch, total): packages[suite] = query_old_versions(suite, arch, many_old) log.info('Received ' + str(len(packages[suite])) + ' old packages in ' + suite + ' to schedule.') - log.info('--------------------------------------------------------------') + log.info('--------------------------------------------------------------') msg = add_up_numbers(packages, arch) if msg != '0': msg += ' known versions' @@ -494,7 +494,7 @@ def scheduler(arch): if suite not in priotized_suite_order: priotized_suite_order.append(suite) for suite in priotized_suite_order: - if arch = 'armhf' and suite != 'unstable': + if arch == 'armhf' and suite != 'unstable': continue query = 'SELECT count(*) ' \ 'FROM schedule AS p JOIN sources AS s ON p.package_id=s.id ' \ -- cgit v1.2.3-70-g09d2