summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_notes.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-05-03 11:29:03 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-03 11:41:13 +0200
commit70fb72c8253b3fa9343ddb576d52e9976f817578 (patch)
treefc72c63afa39de77397d831643df620f19f5b6a3 /bin/reproducible_notes.py
parent58906a76de46cbb5f3839504262ac5ef87b70aec (diff)
downloadjenkins.debian.net-70fb72c8253b3fa9343ddb576d52e9976f817578.tar.xz
reproducible: move the code to call kgb and relay messagess to common.py
Diffstat (limited to 'bin/reproducible_notes.py')
-rwxr-xr-xbin/reproducible_notes.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index d8276635..307774a6 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -13,7 +13,6 @@ import json
import yaml
from apt_pkg import version_compare
from reproducible_common import *
-from subprocess import call
NOTES = 'packages.yml'
ISSUES = 'issues.yml'
@@ -50,9 +49,8 @@ def load_notes():
print_critical_message('Warning: This query produces no results: ' + query
+ '\nThis means there is no tested ' +
'package with the name ' + pkg)
- kgb = ['kgb-client', '--conf', '/srv/jenkins/kgb/debian-reproducible.conf',
- '--relay-msg', 'There is problem with the note for '+pkg+' - please investigate' ]
- call(kgb)
+ irc_msg('There is problem with the note for ' + pkg +
+ ' - please investigate')
else:
notes[pkg] = []
for suite in result: