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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/o/f/offlineimap-HEAD/offlineimap/folder/Maildir.py   offlineimap(Download)
    def getfullname(self):
        return os.path.join(self.getroot(), self.getname())
 
    def getuidvalidity(self):
        """Maildirs have no notion of uidvalidity, so we just return a magic

src/o/f/offlineimap-6.5.5-rc2/offlineimap/folder/Maildir.py   offlineimap(Download)
        self._foldermd5 = md5(self.getvisiblename()).hexdigest()
        # Cache the full folder path, as we use getfullname() very often
        self._fullname = os.path.join(self.getroot(), self.getname())
 
    def getfullname(self):

src/o/f/offlineimap-HEAD/offlineimap/folder/IMAP.py   offlineimap(Download)
    def savemessage_getnewheader(self, content):
        headername = 'X-OfflineIMAP-%s-' % str(binascii.crc32(content)).replace('-', 'x')
        headername += binascii.hexlify(self.repository.getname()) + '-'
        headername += binascii.hexlify(self.getname())
        headervalue= '%d-' % long(time.time())