Don't return the internal connection

This commit is contained in:
Patrick Ulbrich
2016-09-16 21:53:58 +02:00
parent 67e9aa7790
commit 2a4efe4557
2 changed files with 0 additions and 4 deletions

View File

@@ -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

View File

@@ -81,8 +81,6 @@ class POP3MailboxBackend(MailboxBackend):
conn.quit()
except: pass
raise # re-throw exception
return self._conn
def close(self):