Logo Search packages:      
Sourcecode: mailcrypt version File versions  Download package

def watcher::Watcher::outstanding (   self )
Return a list of tuples (srcmsg, time), where time is the absolute
time the message was sent.

Definition at line 217 of file watcher.py.

                         :
        """Return a list of tuples (srcmsg, time), where time is the absolute
        time the message was sent."""
        src, dst = self.msgs()
        outstanding = []
        for msgid in src.keys():
            if not dst.has_key(msgid):
                m = src[msgid]
                outstanding.append((m, m.time))
        outstanding.sort(lambda x,y: cmp(x[0].msgid, y[0].msgid))
        return outstanding

Generated by  Doxygen 1.6.0   Back to index