skip montanaro dwooqfuuguserssourceforgenet update cvsrootspambayesspambayesspambayes directory sc8prcvs8sourceforgenettmpcvsserv20756 modified files tag coresvr coreuipy log message pep8 reversions try clean message info db stuff little enough tonight head swimming index coreuipy rcs file cvsrootspambayesspambayesspambayesatticcoreuipyv retrieving revision 1122 retrieving revision 1123 diff c2 r1122 r1123 coreuipy 21 may 2007 122526 0000 1122 coreuipy 22 may 2007 030512 0000 1123 779782 779796 return errmsg def readuiresourcesself returns uihtml dictionary gifs selflang_manager ui_html selflang_managerimport_ui_html else spambayescore_resources import ui_html images basename userinterfaceimages modulename ss_gif spambayescore_resources basename module __import__modulename spambayes core_resources imagesbasename moduledata return ui_htmldata images class corestate keeps global state module commandline options 794812 selfprepared false selfcan_stop true selfmdb none unique names cached messages see get_new_message_name selflast_base_message_name selfuniquifier 2 set statistics selfnum_spams 0 selfnum_hams 0 selfnum_unsure 0 selfservers selfinit load settings optionpy bayescustomizeini selfui_port optionshtml_ui port 808823 selfprepared false selfcan_stop true unique names cached messages see getnewmessagename selflast_base_message_name selfuniquifier 2 set statistics selfnumspams 0 selfnumhams 0 selfnumunsure 0 selfservers load settings optionpy bayescustomizeini selfui_port optionshtml_ui port 816836 selfis_test false def initself assert selfprepared init prepare close load environment translation selflang_manager i18nlanguagemanager set system user default language selflang_managerset_language selflang_managerlocale_default_lang set interface use user language configuration file language reversedoptionsglobals language leave default last option fall back necessary selflang_manageradd_languagelanguage optionsglobals verbose print asked add languages joinoptionsglobals language print set language strselflang_managercurrent_langs_codes open log file 827851 selfis_test false selfinit def initself assert selfprepared init prepare close i18n yet load environment translation selflang_manager i18nlanguagemanager set system user default language selflang_managerset_language selflang_managerlocale_default_lang set interface use user language configuration file language reversedoptionsglobals language leave default last option fall back necessary selflang_manageradd_languagelanguage optionsglobals verbose print asked add languages joinoptionsglobals language print set language strselflang_managercurrent_langs_codes selflang_manager none open log file 849857 selfbayesclose selfbayes none selfmdb none selfmdbstore selfmdbclose selfmdb none spambayesmessagemessagemessage_info_db none selfspamcorpus selfhamcorpus selfunknowncorpus none 864868 selfbayesclose selfbayes none spambayesmessagemessagemessage_info_db none selfspamcorpus selfhamcorpus selfunknowncorpus none 931938 selfdb_name selfuse_db storagedatabase_type selfbayes storageopen_storageselfdb_name selfuse_db selfmdb spambayesmessagemessagemessage_info_db load stats manager selfstats statsstatsoptions selfmdb selfbuild_status_strings 942949 selfdb_name selfuse_db storagedatabase_type selfbayes storageopen_storageselfdb_name selfuse_db load stats manager selfstats statsstatsoptions spambayesmessagemessagemessage_info_db selfbuild_status_strings 978982 selfhamcorpusaddobserverselfham_trainer def get_new_message_nameself message name time arrived uniquifier appended two arrive within one clock tick 989993 selfhamcorpusaddobserverselfham_trainer def getnewmessagenameself message name time arrived uniquifier appended two arrive within one clock tick 10001008 cls optionsheaders header_ham_string selfnum_hams 1 elif cls optionsheaders header_spam_string selfnum_spams 1 else selfnum_unsure 1 selfstatsrecordclassificationscore 10111019 cls optionsheaders header_ham_string selfnumhams 1 elif cls optionsheaders header_spam_string selfnumspams 1 else selfnumunsure 1 selfstatsrecordclassificationscore _______________________________________________ spambayescheckins mailing list pnperxdpvsarswdlppythonorg httpmailpythonorgmailmanlistinfospambayescheckins tue 05 aug 2008 170643 0700 spambayescheckins spambayesspambayes coreuipy 1122 1123