commit 3ba00eed8820be005b9b3699bbe54fedcce25d87 Author: Damian Johnson atagar@torproject.org Date: Thu Jan 18 09:13:57 2018 -0800
Add address:or_port to subject of fingerprint changing emails
Requested by nusenu. --- fingerprint_change_checker.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/fingerprint_change_checker.py b/fingerprint_change_checker.py index b1791d6..284dac9 100755 --- a/fingerprint_change_checker.py +++ b/fingerprint_change_checker.py @@ -89,7 +89,12 @@ def main():
body += "\n"
- util.send(EMAIL_SUBJECT, body = body, to = ['bad-relays@lists.torproject.org', 'atagar@torproject.org']) + subject = EMAIL_SUBJECT + + if len(alarm_for) == 1: + subject += ' (%s:%s') % alarm_for[0] + + util.send(subject, body = body, to = ['bad-relays@lists.torproject.org', 'atagar@torproject.org'])
# register that we've notified for these
tor-commits@lists.torproject.org