[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [doctor/master] Fix fallback irc notifications
commit 0ae0b8b27c17ca6925d0de339d5d9229b7f1abda
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Tue Jun 25 13:11:51 2019 -0700
Fix fallback irc notifications
Correcting a regression with the earlier change...
Traceback (most recent call last):
File "/srv/doctor.torproject.org/doctor/fallback_directories.py", line 92, in <module>
main()
File "/srv/doctor.torproject.org/doctor/fallback_directories.py", line 87, in main
util.send('Announce or', body = body, to = ['tor-misc@xxxxxxxxxxxxxxxxxx'])
NameError: global name 'body' is not defined
---
fallback_directories.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fallback_directories.py b/fallback_directories.py
index 231927e..b63fd8d 100755
--- a/fallback_directories.py
+++ b/fallback_directories.py
@@ -84,7 +84,7 @@ def main():
break
irc_body = '\n'.join(['[fallback-directories] %s' % line for line in irc_lines])
- util.send('Announce or', body = body, to = ['tor-misc@xxxxxxxxxxxxxxxxxx'])
+ util.send('Announce or', body = irc_body, to = ['tor-misc@xxxxxxxxxxxxxxxxxx'])
if __name__ == '__main__':
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits