Timothy Legant <[EMAIL PROTECTED]> writes:
> Cleaned up Errors.py. Removed __repr__ method in AddressError and
> QueueError. It is of no value in exception classes. Renamed
> __repr__ to __str__ in AuthError, since it needs a customized string
> representation. In all three classes, made __init__ call the
> ancestor class's __init__.
I'm seeing some tracebacks resulting from this change. I can
reproduce it by sending mail to any sender address. dated and keyword
addresses seem to be unaffected.
Uncaught Python 2.3.2 Exception (Wed Nov 19 02:54:03 2003):
-----------------------------------------------------------
Traceback (most recent call last):
File "/home/jason/tmda/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/home/jason/tmda/bin/tmda-rfilter", line 891, in ?
main()
File "/home/jason/tmda/bin/tmda-rfilter", line 877, in main
verify_sender_cookie(sender_address, cookie_value)
File "/home/jason/tmda/bin/tmda-rfilter", line 642, in verify_sender_cookie
addr.verify(sender_address)
File "/home/jason/tmda/TMDA/Errors.py", line 48, in __init__
TMDAError.__init__(errmsg)
TypeError: unbound method __init__() must be called with TMDAError instance as first
argument (got str instance instead)
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers