gh-136134: restore truncated comment post GH-136623 (#138088)

This amends 766614f88a
where a comment has been incorrectly truncated.
This commit is contained in:
Bénédikt Tran 2025-08-23 12:17:14 +02:00 committed by GitHub
parent 6620ef0ff6
commit ab1bef8ad2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]