commit 3ba00eed8820be005b9b3699bbe54fedcce25d87
Author: Damian Johnson <[email protected]>
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 =
['[email protected]', '[email protected]'])
+ subject = EMAIL_SUBJECT
+
+ if len(alarm_for) == 1:
+ subject += ' (%s:%s') % alarm_for[0]
+
+ util.send(subject, body = body, to = ['[email protected]',
'[email protected]'])
# register that we've notified for these
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits