Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13b776f

Browse files
committed
minor fix
1 parent 5375c70 commit 13b776f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extra/shutils/regressiontest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
msg["From"] = FROM
8080
msg["To"] = TO
8181

82-
for test_count, attachment in ATTACHMENTS:
82+
for test_count, attachment in ATTACHMENTS.items():
8383
attachment = MIMEText(attachment)
8484
attachment.add_header('Content-Disposition', 'attachment', filename="test_case_%d_console_output.txt" % test_count)
8585
msg.attach(attachment)

0 commit comments

Comments
 (0)