Example #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)
Example #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)
Example #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 = []
Example #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 = []