30 Jan
2002
30 Jan
'02
11:51 a.m.
Hi and Thanks That worked a treat. BUT, to use it within zope, will it be better as an external method or use the dtml-whois tag? Cheers On Wed, 30 Jan 2002, Keith J. Farmer wrote:
I believe they made a switch from connect(server,port) # 2 arguments to connect((server,port)) # note the tuple -- 1 argument! a couple Pythons ago.
Try changing that in the source and seeing if it corrects the problem.
---------- Keith J. Farmer kfarmer@thuban.org http://www.thuban.org
-----Original Message----- From: Norman Khine [mailto:norman@spot5.com] Sent: Wednesday, January 30, 2002 03:25
sock.connect(server, port) TypeError: connect() takes exactly 1 argument (2 given)