aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-09-17 20:50:36 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-09-17 20:50:36 +0000
commit8203d0d8af6650b9284b10a814549f3390f309b1 (patch)
treec6ca476104b9d8d45e5beea4310ee5121c6e84d2
parent510db4decd2a4db190ebb5d2a541bfd26b272ac1 (diff)
downloadfetchmail-8203d0d8af6650b9284b10a814549f3390f309b1.tar.gz
fetchmail-8203d0d8af6650b9284b10a814549f3390f309b1.tar.bz2
fetchmail-8203d0d8af6650b9284b10a814549f3390f309b1.zip
@ fix.
svn path=/trunk/; revision=3725
-rwxr-xr-xtorturetest.py2
1 files changed, 1 insertions, 1 deletions
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)