[Tracker-discuss] SPAMBAYES_URI (Was: Call for volunteers to help maintain bugs.python.org's issue tracker)

"Martin v. Löwis" martin at v.loewis.de
Sun Feb 24 00:57:27 CET 2008


> in instances/spambayes_integration/detectors/spambayes.py you should
> probably change the dict access from
> 
>     spambayes_uri = db.config.detectors['SPAMBAYES_URI']
> 
> to something like
> 
>     try:
>         spambayes_uri = db.config.detectors['SPAMBAYES_URI']
>     except KeyError, e:
>         return (False, str(e))

I'm personally not going to experiment with that. I just accept that
it doesn't work for me; if somebody can come up with definite 
instructions, please put them into the Wiki.

Regards,
Martin




More information about the Tracker-discuss mailing list