示例#1
0
 def open_mailbox_by_ptr(self, msg_ptr):
     if msg_ptr[:MBX_ID_LEN] == self.mbx_mid:
         return self.mailbox
     else:
         return BaseIndex.open_mailbox_by_ptr(self, msg_ptr)
示例#2
0
 def open_mailbox_by_ptr(self, msg_ptr):
     if msg_ptr[:MBX_ID_LEN] == self.mbx_mid:
         return self.mailbox
     else:
         return BaseIndex.open_mailbox_by_ptr(self, msg_ptr)
示例#3
0
 def __init__(self, config, mailbox, mbx_mid=None):
     BaseIndex.__init__(self, config)
     self.mbx_mid = mbx_mid or self.FAKE_MBX_ID
     self.mailbox = mailbox
     self.ptrset = set([])
     self.idxmap = []
示例#4
0
 def __init__(self, config, mailbox, mbx_mid=None):
     BaseIndex.__init__(self, config)
     self.mbx_mid = mbx_mid or self.FAKE_MBX_ID
     self.mailbox = mailbox
     self.ptrset = set([])
     self.idxmap = []