mirror of
https://github.com/pulb/mailnag.git
synced 2026-05-07 03:26:38 +02:00
Don't return the internal connection
This commit is contained in:
@@ -95,8 +95,6 @@ class IMAPMailboxBackend(MailboxBackend):
|
||||
if self._conn.state == AUTH:
|
||||
self._select()
|
||||
|
||||
return self._conn
|
||||
|
||||
|
||||
def close(self):
|
||||
# if conn has already been closed, don't try to close it again
|
||||
|
||||
@@ -81,8 +81,6 @@ class POP3MailboxBackend(MailboxBackend):
|
||||
conn.quit()
|
||||
except: pass
|
||||
raise # re-throw exception
|
||||
|
||||
return self._conn
|
||||
|
||||
|
||||
def close(self):
|
||||
|
||||
Reference in New Issue
Block a user