Skip to content

Commit

Permalink
Renaming var
Browse files Browse the repository at this point in the history
  • Loading branch information
mikechabot committed Aug 6, 2018
1 parent 5d21d05 commit fa6f782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/smtpconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ def __eval_server_features(self):
exit(1)

server_auth_features = self.server.esmtp_features.get('auth').strip().split()
support_auth_features = { auth_type for auth_type in {'PLAIN', 'LOGIN'} if auth_type in server_auth_features }
supported_auth_features = { auth_type for auth_type in {'PLAIN', 'LOGIN'} if auth_type in server_auth_features }

if not support_auth_features:
if not supported_auth_features:
logger.error('SMTP server does not support AUTH PLAIN or AUTH LOGIN.')
exit(1)

Expand Down

0 comments on commit fa6f782

Please sign in to comment.