[doctor/master] Syntax error with descriptor_checker

commit c206aee51e3b30b6340d37c6ba3295908275de2a Author: Damian Johnson <atagar@torproject.org> Date: Sun Sep 22 12:12:12 2013 -0700 Syntax error with descriptor_checker Problem spotted by Sebastian... http://paste.debian.net/44871/ Parentheses for the formatted string were off. --- descriptor_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/descriptor_checker.py b/descriptor_checker.py index ee715a9..55e8236 100755 --- a/descriptor_checker.py +++ b/descriptor_checker.py @@ -86,7 +86,7 @@ def main(): def send_email(subject, descriptor_type, query): try: timestamp = datetime.datetime.now().strftime("%m/%d/%Y %H:%M") - util.send(subject, body_text = EMAIL_BODY % (descriptor_type, query.download_url, timestamp, query.error, destination = util.ERROR_ADDRESS)) + util.send(subject, body_text = EMAIL_BODY % (descriptor_type, query.download_url, timestamp, query.error), destination = util.ERROR_ADDRESS) except Exception, exc: log.warn("Unable to send email: %s" % exc)
participants (1)
-
atagar@torproject.org