1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

Formatting fixes from the past round of checkins

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2006-11-07 19:07:27 +00:00
parent 6f164ad485
commit a84404c190
6 changed files with 15 additions and 17 deletions

View File

@@ -53,7 +53,7 @@ def send_mass_mail(datatuple, fail_silently=False, auth_user=settings.EMAIL_HOST
msg['From'] = from_email
msg['To'] = ', '.join(recipient_list)
msg['Date'] = rfc822.formatdate()
msg['Message-ID'] = "<%d.%d@%s>" % ( time.time(), random.getrandbits(64), socket.getfqdn() )
msg['Message-ID'] = "<%d.%d@%s>" % (time.time(), random.getrandbits(64), socket.getfqdn())
try:
server.sendmail(from_email, recipient_list, msg.as_string())
num_sent += 1