fix typo
authorMarius Mauch <genone@gentoo.org>
Sun, 18 Jun 2006 21:13:19 +0000 (21:13 -0000)
committerMarius Mauch <genone@gentoo.org>
Sun, 18 Jun 2006 21:13:19 +0000 (21:13 -0000)
svn path=/main/trunk/; revision=3530

pym/portage_mail.py

index 4e56ca74c79ccd91c406ca90ad543920743b3d5e..b3b3dd86d5c390391362a1a1b09d9e57dfeccf90 100644 (file)
@@ -67,7 +67,7 @@ def send_mail(mysettings, message):
        # user wants to use a sendmail binary instead of smtp
        if mymailhost[0] == os.sep and os.path.exists(mymailhost):
                fd = os.popen(mymailhost+" -f "+myfrom+" "+myrecipient, "w")
-               fd.write(mymessage.as_string())
+               fd.write(message.as_string())
                if fd.close() != None:
                        sys.stderr.write("!!! %s returned with a non-zero exit code. This generally indicates an error.\n" % mymailhost)
        else: