From 13b776fb9fc3fd15c58e2c1ebc079c76149087db Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Fri, 18 Jan 2013 13:10:26 +0000 Subject: [PATCH] minor fix --- extra/shutils/regressiontest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/shutils/regressiontest.py b/extra/shutils/regressiontest.py index 9376f14e8..f7bb3deb6 100644 --- a/extra/shutils/regressiontest.py +++ b/extra/shutils/regressiontest.py @@ -79,7 +79,7 @@ if CONTENT: msg["From"] = FROM msg["To"] = TO - for test_count, attachment in ATTACHMENTS: + for test_count, attachment in ATTACHMENTS.items(): attachment = MIMEText(attachment) attachment.add_header('Content-Disposition', 'attachment', filename="test_case_%d_console_output.txt" % test_count) msg.attach(attachment)