#2118: IOError is deprecated, use OSError.

This commit is contained in:
R David Murray 2013-04-14 06:46:35 -04:00
parent 96d6a78ce0
commit 8a34596bbe
3 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ bCRLF = b"\r\n"
OLDSTYLE_AUTH = re.compile(r"auth=(.*)", re.I)
# Exception classes used by this module.
class SMTPException(IOError):
class SMTPException(OSError):
"""Base class for all exceptions raised by this module."""
class SMTPServerDisconnected(SMTPException):