Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(16)  |  Call(0)  |  Derive(8)  |  Import(8)

src/o/f/offlineimap-HEAD/offlineimap/folder/LocalStatus.py   offlineimap(Download)
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
from Base import BaseFolder
import os, threading
 
magicline = "OFFLINEIMAP LocalStatus CACHE DATA - DO NOT MODIFY - FORMAT 1"
 
class LocalStatusFolder(BaseFolder):

src/o/f/offlineimap-HEAD/offlineimap/folder/IMAP.py   offlineimap(Download)
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
from Base import BaseFolder
import imaplib
from offlineimap import imaputil, imaplibutil
class IMAPFolder(BaseFolder):
    def __init__(self, imapserver, name, visiblename, accountname, repository):
        self.config = imapserver.config
        self.expunge = repository.getexpunge()
        self.name = imaputil.dequote(name)

src/o/f/offlineimap-6.5.5-rc2/offlineimap/folder/LocalStatus.py   offlineimap(Download)
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
from .Base import BaseFolder
import os
import threading
 
magicline = "OFFLINEIMAP LocalStatus CACHE DATA - DO NOT MODIFY - FORMAT 1"
 
 
class LocalStatusFolder(BaseFolder):

src/o/f/offlineimap-6.5.5-rc2/offlineimap/folder/IMAP.py   offlineimap(Download)
import time
from sys import exc_info
from .Base import BaseFolder
from offlineimap import imaputil, imaplibutil, OfflineImapError
from offlineimap.imaplib2 import MonthNames
 
 
class IMAPFolder(BaseFolder):

src/o/f/offlineimap-HEAD/offlineimap/folder/Maildir.py   offlineimap(Download)
 
import os.path, os, re, time, socket
from Base import BaseFolder
from offlineimap import imaputil
from offlineimap.ui import UIBase
class MaildirFolder(BaseFolder):
    def __init__(self, root, name, sep, repository, accountname, config):
        self.name = name
        self.config = config
        self.dofsync = config.getdefaultboolean("general", "fsync", True)

src/o/f/offlineimap-6.5.5-rc2/offlineimap/folder/Maildir.py   offlineimap(Download)
import re
import os
from .Base import BaseFolder
from threading import Lock
 
class MaildirFolder(BaseFolder):
    def __init__(self, root, name, sep, repository):
        self.sep = sep # needs to be set before super().__init__
        super(MaildirFolder, self).__init__(name, repository)
        self.dofsync = self.config.getdefaultboolean("general", "fsync", True)