error: Don't explicitly store server in SMTPAuthenticationError
authorW. Trevor King <wking@tremily.us>
Thu, 28 Mar 2013 01:17:03 +0000 (21:17 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 28 Mar 2013 01:17:03 +0000 (21:17 -0400)
It's already being stored by SMTPConnectionError, which is called via
super().

Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/error.py

index 95f720954bef3702eb3b08d759c88de98d995314..2a12cb5a55698f640438b93807c8c731cc39de29 100644 (file)
@@ -83,7 +83,6 @@ class SMTPAuthenticationError (SMTPConnectionError):
                 server, username))
         super(SMTPAuthenticationError, self).__init__(
             server=server, message=message)
-        self.server = server
         self.username = username