From 1fc58a298578bf73584312748d4b8475f9be21ce Mon Sep 17 00:00:00 2001 From: Patrick Ulbrich Date: Sat, 17 Sep 2016 12:27:39 +0200 Subject: [PATCH] Throw NotImplementedException in POP3MailboxBackend.request_folders() --- Mailnag/backends/pop3.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mailnag/backends/pop3.py b/Mailnag/backends/pop3.py index 4a8c0ba..27d5e7b 100644 --- a/Mailnag/backends/pop3.py +++ b/Mailnag/backends/pop3.py @@ -120,8 +120,7 @@ class POP3MailboxBackend(MailboxBackend): def request_folders(self): - lst = [] - return lst + raise NotImplementedError("POP3 does not support notifications") def notify_next_change(self, callback=None, timeout=None):