Barry Warsaw
Mon, 16 Jun 2008 08:54:50 -0700
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jun 16, 2008, at 3:25 AM, Maickel Pandie wrote:
I have some problem here and I didn't know how to solve it. I sent 1 message to [EMAIL PROTECTED] (listname) and I record what Switchboard.files() return to Runner.py: 1213621876.0387881+53028ae65697f5b1c06e9cf0f3b04ae1bb2ecfb1 1213621876.0387881+ad9a762eff62186e94d26fda95865243b6dc4069 1213621876.0387881+e7efb136c33f77e0674e03512860aadb23a2d605From Switchboard.enqueue() and Switchboard.files() I knew that1213621876.0387881 is the rcvtime What I asking are: 1. Why the digest (53028ae65697f5b1c06e9cf0f3b04ae1bb2ecfb1, ad9a762eff62186e94d26fda95865243b6dc4069, e7efb136c33f77e0674e03512860aadb23a2d605) are changing for same message?
Because the hash is calculated from the entire contents of the file, which includes the message's metadata dictionary. That will change each time the message is re-queued.
2. In Switchboard.files() Can I get listname from the digest/ filebase? How?
Nope. That information is available in the metadata, but you have to dequeue the file in order to read it.
Cheers, - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkhWjJ4ACgkQ2YZpQepbvXEJEwCdFw6o4MhGsheX+Mu8Pn11GW4N vFMAnRARv78M+7YpwVxNJCoqIOoBt8/o =9HdD -----END PGP SIGNATURE----- _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp