Hi all,
Scott Onstott said the following on 11/3/2003 8:16 PM>>

Library = <module 'TestAddr' from '/usr/local/tmda-cgi-0.11/TestAddr.pyc'>,
Library.Show = <function Show>

 /usr/local/tmda-cgi-0.11/TestAddr.py in Show()
   76             Addr.timestamp(1, None)

77 except AttributeError:

78 pass

79

80 # Add results in their place


TypeError: timestamp() takes exactly 1 argument (3 given) args = ('timestamp() takes exactly 1 argument (3 given)',)


I just found in tmda-0.87/TMDA/Address.py, function timestamp is defined as

def timestamp(self):

whereas, in tmda-cgi-0.11/ it is called as

Addr.timestamp(1, None)

I changed this line to
        Addr.timestamp()
and seems Testing of address is working now.
Could someone verify this is th correct way to do?

Thanks
R'twick
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to