;ò ø™®Ec@s7dZdklZdklZdfd„ƒYZdS(s&Generic TMDA pending queue class. For reference, 'mailid' refers to the unique identifier of a mail message in the pending queue. It's a string consisting of two numbers seperated by a dot, e.g, "1159383896.4198". This infomration currently comes from a timestamp and the Python process id. (sDefaults(sErrorssQueuecBsntZd„Zd„Zd„Zd„Zd„Zd„Zd„Ze d„Z d „Z d „Z d „Z RS( NcCs d|_dS(Ns not defined(sselfsformat(sself((s./TMDA/Queue/Queue.pys__init__#scCsdS(s5 Return true if the queue exists, otherwise False. N((sself((s./TMDA/Queue/Queue.pysexists)scCsdS(s Create the queue. N((sself((s./TMDA/Queue/Queue.pys_create0scCsdS(sp Convert the existing queue as necessary to a different format. JRM: unsure if this method will stay or not. N((sself((s./TMDA/Queue/Queue.pys_convert7scCsdS(sR Delete messages from the queue that are older than Defaults.PENDING_LIFETIME. N((sself((s./TMDA/Queue/Queue.pyscleanup?scCsdS(sx Return a list containing the just the ids of all messages in the queue. e.g, ['1159387731.4602', '1159383896.4198'] N((sself((s./TMDA/Queue/Queue.pys fetch_idsGscCsdS(s­ Insert the contents of a message into the queue. msg is an email.message like object. mailid (see above) recipient is the recipient e-mail address of this message. N((sselfsmsgsmailids recipient((s./TMDA/Queue/Queue.pysinsert_messageOs cCsdS(sá Fetch the contents of a message in the queue. Should return an email.message like object. Normally uses HeaderParser' for a quick parse unless 'fullParse' is set to True, in which case it uses the full 'email.parser'. N((sselfsmailids fullParse((s./TMDA/Queue/Queue.pys fetch_message\scCsdS(s" Delete a message in the queue. N((sselfsmailid((s./TMDA/Queue/Queue.pysdelete_messagefscCsdS(sA Return true if this message is in the queue, otherwise False. N((sselfsmailid((s./TMDA/Queue/Queue.pys find_messagemscCswti}|iƒdjodkl}|ƒSn|iƒdjodkl}|ƒSntidd|‚dS(Nsoriginal(s OriginalQueuesmaildir(s MaildirQueuesUnknown PENDING_QUEUE_FORMAT: s"%s"(sDefaultssPENDING_QUEUE_FORMATsqformatslowers OriginalQueues MaildirQueuesErrorss ConfigError(sselfsqformats MaildirQueues OriginalQueue((s./TMDA/Queue/Queue.pysinitvs     (s__name__s __module__s__init__sexistss_creates_convertscleanups fetch_idssinsert_messagesFalses fetch_messagesdelete_messages find_messagesinit(((s./TMDA/Queue/Queue.pysQueue"s        N(s__doc__sTMDAsDefaultssErrorssQueue(sQueuesErrorssDefaults((s./TMDA/Queue/Queue.pys?s