diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-09-17 20:50:36 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-09-17 20:50:36 +0000 |
commit | 8203d0d8af6650b9284b10a814549f3390f309b1 (patch) | |
tree | c6ca476104b9d8d45e5beea4310ee5121c6e84d2 /torturetest.py | |
parent | 510db4decd2a4db190ebb5d2a541bfd26b272ac1 (diff) | |
download | fetchmail-8203d0d8af6650b9284b10a814549f3390f309b1.tar.gz fetchmail-8203d0d8af6650b9284b10a814549f3390f309b1.tar.bz2 fetchmail-8203d0d8af6650b9284b10a814549f3390f309b1.zip |
@ fix.
svn path=/trunk/; revision=3725
Diffstat (limited to 'torturetest.py')
-rwxr-xr-x | torturetest.py | 2 |
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) |