/head: changeset 39
Completed name change to offlineimap
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
from Base import BaseFolder
|
||||
from imapsync import imaputil, imaplib
|
||||
from offlineimap import imaputil, imaplib
|
||||
import rfc822
|
||||
from StringIO import StringIO
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
from Base import BaseFolder
|
||||
import os
|
||||
|
||||
magicline = "IMAPSYNC LocalStatus CACHE DATA - DO NOT MODIFY - FORMAT 1"
|
||||
magicline = "OFFLINEIMAP LocalStatus CACHE DATA - DO NOT MODIFY - FORMAT 1"
|
||||
|
||||
class LocalStatusFolder(BaseFolder):
|
||||
def __init__(self, root, name):
|
||||
|
@ -17,7 +17,7 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
from Base import BaseFolder
|
||||
from imapsync import imaputil
|
||||
from offlineimap import imaputil
|
||||
import os.path, os, re, time, socket
|
||||
|
||||
class MaildirFolder(BaseFolder):
|
||||
@ -25,7 +25,7 @@ class MaildirFolder(BaseFolder):
|
||||
self.name = name
|
||||
self.root = root
|
||||
self.sep = '.'
|
||||
self.uidfilename = os.path.join(self.getfullname(), "imapsync.uidvalidity")
|
||||
self.uidfilename = os.path.join(self.getfullname(), "offlineimap.uidvalidity")
|
||||
self.messagelist = None
|
||||
|
||||
def getfullname(self):
|
||||
|
@ -16,7 +16,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
from imapsync import imaplib, imaputil
|
||||
from offlineimap import imaplib, imaputil
|
||||
|
||||
class IMAPServer:
|
||||
def __init__(self, username, password, hostname, port = None, ssl = 1):
|
||||
|
@ -17,7 +17,7 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
from Base import BaseRepository
|
||||
from imapsync import folder, imaputil
|
||||
from offlineimap import folder, imaputil
|
||||
import re
|
||||
|
||||
class IMAPRepository(BaseRepository):
|
||||
|
@ -17,7 +17,7 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
from Base import BaseRepository
|
||||
from imapsync import folder
|
||||
from offlineimap import folder
|
||||
import os
|
||||
|
||||
class LocalStatusRepository(BaseRepository):
|
||||
|
@ -17,7 +17,7 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
from Base import BaseRepository
|
||||
from imapsync import folder, imaputil
|
||||
from offlineimap import folder, imaputil
|
||||
from mailbox import Maildir
|
||||
import os
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
from imapsync import repository
|
||||
from offlineimap import repository
|
||||
import re, time
|
||||
|
||||
class UIBase:
|
||||
@ -45,7 +45,7 @@ class UIBase:
|
||||
|
||||
def init_banner(s):
|
||||
"Display the copyright banner."
|
||||
s._msg("""imapsync
|
||||
s._msg("""offlineimap
|
||||
Copyright (C) 2002 John Goerzen. All rights reserved.
|
||||
This software comes with NO WARRANTY: see the file COPYING for details.""")
|
||||
|
||||
|
Reference in New Issue
Block a user