From ebf03db5f097be3375420dbed6cc807c2651fb04 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 4 Jun 2015 14:32:36 +0200 Subject: reproducible: setup_notify: output the total changes packages at the end --- bin/reproducible_setup_notify.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_setup_notify.py b/bin/reproducible_setup_notify.py index af00a65c..02960ab3 100755 --- a/bin/reproducible_setup_notify.py +++ b/bin/reproducible_setup_notify.py @@ -67,7 +67,6 @@ def process_pkg(package, deactivate): query = 'SELECT * FROM sources WHERE name="{}"'.format(package) log.debug(query_db(query)) - if maintainer: global conn_udd if not conn_udd: @@ -94,3 +93,8 @@ for package in packages: gen_packages_html(packages, no_clean=True) build_page('notify') + +if deactivate: + _good('Notifications disabled for ' + str(len(packages)) + ' package(s)') +else: + _good('Notifications enabled for ' + str(len(packages)) + ' package(s)') -- cgit v1.2.3-70-g09d2