[Spambayes] Corpus.Message.__getattr__ can't be correct can it?

Tim Stone - Four Stones Expressions tim at fourstonesExpressions.com
Fri Jan 17 13:14:20 EST 2003


I'm not sure how this ever worked!  Unfortunately, I'm in the middle of 
changing workstations right now, and don't have cvs up and running yet, so I 
can't fix it...  

1/17/2003 11:35:34 AM, Skip Montanaro <skip at pobox.com> wrote:

>In Corpus.Message, __getattr__ is defined as
>
>    def __getattr__(self, attributeName):
>        '''On-demand loading of the message text.'''
>
>        if attributeName in ('hdrtxt', 'payload'):
>            self.load()
>        return getattr(self, attributeName)
>
>This has to be an infloop, right?
>
>Skip
>
>_______________________________________________
>Spambayes mailing list
>Spambayes at python.org
>http://mail.python.org/mailman/listinfo/spambayes
>
>


c'est moi - TimS
http://www.fourstonesExpressions.com
http://wecanstopspam.org





More information about the Spambayes mailing list