Fixed correct exception in POP3Backend. Removed unused _conn variable from Account.

This commit is contained in:
Timo Kankare
2016-09-12 16:31:46 +03:00
parent 279cbd5efa
commit 169b5a72d3
2 changed files with 2 additions and 3 deletions

View File

@@ -120,9 +120,9 @@ class POP3Backend:
def notify_next_change(self, callback=None, timeout=None):
raise NotImplemented("POP3 does not support notifications")
raise NotImplementedError("POP3 does not support notifications")
def cancel_notifications(self):
raise NotImplemented("POP3 does not support notifications")
raise NotImplementedError("POP3 does not support notifications")

View File

@@ -64,7 +64,6 @@ class Account:
self.idle = idle # bool
self.folders = folders
self.backend = backend
self._conn = None
def open(self, reopen = True):