Carlos Averett <[EMAIL PROTECTED]> writes: > When I attempt to validate dated addresses, I get an error saying > "*TypeError*: timestamp() takes exactly 1 argument (3 given)". I > fixed it in the past, but I can't remember how I did it. I think I > just changed the paramaters of timestamp, and added some date parsing > line. It's python 2.2.2 under RH9 > > > Anyone got a ready-made fix?
[...] > /usr/share/toaster/tmda-cgi/TestAddr.py > <file:///usr/share/toaster/tmda-cgi/TestAddr.py> in *Show*() > > 67 T["Results"] = "Valid." > 68 try: > 69 T["Results"] = "Valid.<br>Expires: %s" % Addr.timestamp(1, None) > 70 except AttributeError: > 71 pass For now, just change the above "Addr.timestamp(1, None)" to "Addr.timestamp()". I don't know why the code passes parameters to the timestamp() function.... Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
