From 8203d0d8af6650b9284b10a814549f3390f309b1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 17 Sep 2002 20:50:36 +0000 Subject: @ fix. svn path=/trunk/; revision=3725 --- torturetest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'torturetest.py') diff --git a/torturetest.py b/torturetest.py index 9f5d86cc..944028f6 100755 --- a/torturetest.py +++ b/torturetest.py @@ -63,7 +63,7 @@ class TestSite: "Send test mail to the site." server = smtplib.SMTP("localhost") fromaddr = "esr@thyrsus.com" - if string.find(self.mailname, "@") > -1: + if self.mailname.find("@") > -1: toaddr = self.mailname else: toaddr = "%s@%s" % (self.mailname, self.host) -- cgit v1.2.3