>>>>> "AY" == Asher Yanich <[EMAIL PROTECTED]> writes:

    AY> I am looking to write a tool to auto-flush held messages and I
    AY> was wondering what interface I could use to get into
    AY> request.db.  I would like to be able to intelligently look at
    AY> the requests that are being held and if they havent been
    AY> moderated through within a certain period of time, just clear
    AY> them out.

requests.db is a marshalled Python dictionary.

    AY> So, I tried DB_File with perl and had no luck.

What's Perl <wink>.

See this page for details:

http://www.python.org/doc/current/lib/module-marshal.html

or look at bin/dumpdb in the Mailman source code.

[Aside: request.db really ought to be a pickle not a marshal.  Oh
well.]

-Barry

_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman-21/listinfo/mailman-developers

Reply via email to