[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [doctor/master] Providing consensus health notifications to #tor-bots
commit 5c008c35590e1ead4245113e66ffad31b103c745
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Mon Sep 16 12:36:47 2013 -0700
Providing consensus health notifications to #tor-bots
Providing #tor-bots notifications in a similar manner to the java doctor
counterpart.
---
consensus_health_checker.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index a5aadfb..01f805b 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -133,6 +133,10 @@ def main():
log.debug("Sending notification for issues")
util.send(EMAIL_SUBJECT, body_text = '\n'.join(map(str, issues)))
+ # notification for #tor-bots
+
+ util.send('Announce or', body_text = '\n'.join(['[consensus-health] %s' % issue for issue in issues]), destination = 'tor-misc@xxxxxxxxxxxxxxxxxx')
+
log.debug("Checks finished, runtime was %0.2f seconds" % (time.time() - start_time))
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits