[tor-commits] [doctor/master] Fix fallback irc notifications
atagar at torproject.org
atagar at torproject.org
Tue Jun 25 20:12:47 UTC 2019
commit 0ae0b8b27c17ca6925d0de339d5d9229b7f1abda
Author: Damian Johnson <atagar at torproject.org>
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 at commit.noreply.org'])
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 at commit.noreply.org'])
+ util.send('Announce or', body = irc_body, to = ['tor-misc at commit.noreply.org'])
if __name__ == '__main__':
More information about the tor-commits
mailing list