mirror of
https://github.com/python/cpython.git
synced 2025-11-24 12:20:42 +00:00
gh-136134: restore truncated comment post GH-136623 (#138088)
This amends 766614f88a
where a comment has been incorrectly truncated.
This commit is contained in:
parent
6620ef0ff6
commit
ab1bef8ad2
1 changed files with 1 additions and 0 deletions
|
|
@ -734,6 +734,7 @@ class SMTP:
|
|||
preferred_auths = ['CRAM-MD5', 'PLAIN', 'LOGIN']
|
||||
else:
|
||||
preferred_auths = ['PLAIN', 'LOGIN']
|
||||
# We try the supported authentications in our preferred order, if
|
||||
# the server supports them.
|
||||
authlist = [auth for auth in preferred_auths
|
||||
if auth in advertised_authlist]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue