summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-04 14:32:36 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-04 14:33:47 +0200
commitebf03db5f097be3375420dbed6cc807c2651fb04 (patch)
tree77cc2bfd7f4a5bf4328d87dbb9e3258ac7608ad2 /bin
parent853177f0369353722d5d503b8625cda4766006db (diff)
downloadjenkins.debian.net-ebf03db5f097be3375420dbed6cc807c2651fb04.tar.xz
reproducible: setup_notify: output the total changes packages at the end
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_setup_notify.py6
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)')