mirror of
https://github.com/pulb/mailnag.git
synced 2026-05-07 10:05:27 +02:00
Fixed correct exception in POP3Backend. Removed unused _conn variable from Account.
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -64,7 +64,6 @@ class Account:
|
||||
self.idle = idle # bool
|
||||
self.folders = folders
|
||||
self.backend = backend
|
||||
self._conn = None
|
||||
|
||||
|
||||
def open(self, reopen = True):
|
||||
|
||||
Reference in New Issue
Block a user