commit 78374837846dbbe8c2e7a8dff057c9ca269b6554 Author: Damian Johnson atagar@torproject.org Date: Tue Nov 18 10:05:23 2014 -0800
Typo in keyword arguments
Traceback (most recent call last): File "consensus_health_checker.py", line 788, in <module> main() File "consensus_health_checker.py", line 306, in main util.send(EMAIL_SUBJECT, body_text = '\n'.join(map(str, issues)), cc_destionations = cc_addresses, bcc_destionations = bcc_addresses) TypeError: send() got an unexpected keyword argument 'cc_destionations' --- consensus_health_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/consensus_health_checker.py b/consensus_health_checker.py index f79277b..26b4fc7 100755 --- a/consensus_health_checker.py +++ b/consensus_health_checker.py @@ -303,7 +303,7 @@ def main(): cc_addresses = [d.address for d in destinations.values() if d and not d.bcc] bcc_addresses = [d.address for d in destinations.values() if d and d.bcc]
- util.send(EMAIL_SUBJECT, body_text = '\n'.join(map(str, issues)), cc_destionations = cc_addresses, bcc_destionations = bcc_addresses) + util.send(EMAIL_SUBJECT, body_text = '\n'.join(map(str, issues)), cc_destinations = cc_addresses, bcc_destinations = bcc_addresses)
# notification for #tor-bots
tor-commits@lists.torproject.org