Django

Code

Changeset 5041

Show
Ignore:
Timestamp:
04/20/07 04:59:44 (1 year ago)
Author:
mtredinnick
Message:

Fixed #4086 -- Removed some redundant code points out by Ilya Semenov.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/mail.py

    r4574 r5041  
    4343    If auth_password is None, the EMAIL_HOST_PASSWORD setting is used. 
    4444    """ 
    45     if auth_user is None: 
    46         auth_user = settings.EMAIL_HOST_USER 
    47     if auth_password is None: 
    48         auth_password = settings.EMAIL_HOST_PASSWORD 
    4945    return send_mass_mail([[subject, message, from_email, recipient_list]], fail_silently, auth_user, auth_password) 
    5046