From bf4127c2d63dee6b87727a5eeeaed3f12c81ca02 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 1 Dec 2011 10:12:54 +0100 Subject: [PATCH] Remove unused imapserver getdelim() imapserver.getdelim() was not used at all, so remove this function. The folder delimiter is available via the repository.getsep() call. Signed-off-by: Sebastian Spaeth --- offlineimap/imapserver.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/offlineimap/imapserver.py b/offlineimap/imapserver.py index b8446d3..0106782 100644 --- a/offlineimap/imapserver.py +++ b/offlineimap/imapserver.py @@ -47,7 +47,11 @@ class IMAPServer: """Initializes all variables from an IMAPRepository() instance Various functions, such as acquireconnection() return an IMAP4 - object on which we can operate.""" + object on which we can operate. + + Public instance variables are: self.: + delim The server's folder delimiter. Only valid after acquireconnection() + """ GSS_STATE_STEP = 0 GSS_STATE_WRAP = 1 def __init__(self, repos): @@ -98,11 +102,6 @@ class IMAPServer: self.passworderror = None return self.password - def getdelim(self): - """Returns this server's folder delimiter. Can only be called - after one or more calls to acquireconnection.""" - return self.delim - def getroot(self): """Returns this server's folder root. Can only be called after one or more calls to acquireconnection."""