diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-04 14:32:36 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-04 14:33:47 +0200 |
commit | ebf03db5f097be3375420dbed6cc807c2651fb04 (patch) | |
tree | 77cc2bfd7f4a5bf4328d87dbb9e3258ac7608ad2 | |
parent | 853177f0369353722d5d503b8625cda4766006db (diff) | |
download | jenkins.debian.net-ebf03db5f097be3375420dbed6cc807c2651fb04.tar.xz |
reproducible: setup_notify: output the total changes packages at the end
-rwxr-xr-x | bin/reproducible_setup_notify.py | 6 |
1 files changed, 5 insertions, 1 deletions
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)') |